cvs commit: src/sys/sys slaballoc.h src/sys/kern kern_slaballoc.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 28 10:25:04 PDT 2003


dillon      2003/08/28 10:24:38 PDT

  Modified files:
    sys/sys              slaballoc.h 
    sys/kern             kern_slaballoc.c 
  Log:
  At Jeffrey Hsu's suggestion (who follows USENIX papers far more closely the
  I do), change the offset for new allocations out of each new zone we create
  in order to spread-out L1/L2 cache use.  Without this new allocations will
  tend to front-load the cpu caches resulting in non-optimal memory accesses.
  
  Revision  Changes    Path
  1.3       +6 -1      src/sys/sys/slaballoc.h
  1.3       +22 -7     src/sys/kern/kern_slaballoc.c






More information about the Commits mailing list