rusage breakdown and cpu limits.

Jeff Roberson jroberson at chesapeake.net
Tue May 29 18:01:43 UTC 2007


I'm working with Attilio to break down rusage further to be per-thread in 
places where it is protected by the global scheduler lock.  To support 
this, I am interested in moving the rlimit cpulimit check into userret(), 
or perhaps ast().  Is there any reason why we need to check this on every 
context switch?  Any objections to moving it?  Eventually it will require 
a different lock from the one we obtain to call mi_switch().

Jeff


More information about the freebsd-arch mailing list