cvs commit: src/sys/kern kern_resource.c

John Baldwin jhb at FreeBSD.org
Tue Feb 21 13:47:49 PST 2006


jhb         2006-02-21 21:47:46 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_resource.c 
  Log:
  Split calcru() back into a calcru1() function shared with calccru() and
  a calcru() wrapper that passes a local rusage_ext on the stack that is
  a snapshot to do the calculations on.  Now we can pass p->p_crux to
  calcru1() in calccru() again which fixes the issues with runtime going
  backwards messages when dead processes are harvested by init.
  
  Reviewed by:    phk
  Tested by:      Stefan Ehmann shoesoft at gmx dot net
  
  Revision  Changes    Path
  1.155     +33 -10    src/sys/kern/kern_resource.c


More information about the cvs-src mailing list