Date: Tue, 29 May 2007 11:13:10 -0700 From: Alfred Perlstein <alfred@freebsd.org> To: Jeff Roberson <jroberson@chesapeake.net> Cc: arch@freebsd.org Subject: Re: rusage breakdown and cpu limits. Message-ID: <20070529181310.GP21795@elvis.mu.org> In-Reply-To: <20070529105856.L661@10.0.0.1> References: <20070529105856.L661@10.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
* Jeff Roberson <jroberson@chesapeake.net> [070529 11:07] wrote: > 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(). Er, as long as it's checked each place where we can issue a signal so a SIGXCPU can be sent when tsleep/cv_wait_sig... right? -Alfred
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070529181310.GP21795>