cvs commit: src/sys/vm uma_core.c

Robert Watson rwatson at FreeBSD.org
Sat Jul 16 11:03:06 GMT 2005


rwatson     2005-07-16 11:03:06 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               uma_core.c 
  Log:
  Use mp_maxid in preference to MAXCPU when creating exports of UMA
  per-CPU cache statistics.  UMA sizes the cache array based on the
  number of CPUs at boot (mp_maxid + 1), and iterating based on MAXCPU
  could read off the end of the array (into the next zone).
  
  Reported by:    yongari
  MFC after:      1 week
  
  Revision  Changes    Path
  1.127     +3 -3      src/sys/vm/uma_core.c


More information about the cvs-all mailing list