cvs commit: src/sys/vm uma_core.c

Robert Watson rwatson at FreeBSD.org
Sat Jul 23 15:10:30 GMT 2005


rwatson     2005-07-23 15:10:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/vm               uma_core.c 
  Log:
  Merge uma_core.c:1.127 from HEAD to RELENG_6:
  
    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
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.119.2.8  +3 -3      src/sys/vm/uma_core.c


More information about the cvs-src mailing list