Date: Tue, 29 May 2007 19:04:42 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Jeff Roberson <jroberson@chesapeake.net> Cc: arch@freebsd.org Subject: Re: rusage breakdown and cpu limits. Message-ID: <32969.1180465482@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 29 May 2007 11:01:36 MST." <20070529105856.L661@10.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20070529105856.L661@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32969.1180465482>