rusage breakdown and cpu limits.
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue May 29 19:04:13 UTC 2007
In message <20070529105856.L661 at 10.0.0.1>, Jeff Roberson writes:
>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().
For all I care, we can do the cpu limit check once per second only.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list