Re: [PATCH] Prezeroing V8 + free_hot_zeroed_page + free_cold_zeroed page

From: Christoph Lameter <clameter_at_sgi.com>
Date: 2005-03-18 13:09:11
On Thu, 17 Mar 2005, Jason Uhlenkott wrote:

> On Thu, Mar 17, 2005 at 05:36:50PM -0800, Christoph Lameter wrote:
> > +        while (avenrun[0] >= ((unsigned long)sysctl_scrub_load << FSHIFT)) {
> > +		set_current_state(TASK_UNINTERRUPTIBLE);
> > +		schedule_timeout(30*HZ);
> > +	}
>
> This should probably be TASK_INTERRUPTIBLE.  It'll never actually get
> interrupted either way since kernel threads block all signals, but
> sleeping uninterruptibly contributes to the load average.

Correct. .... I just do not seem to be able to get this right.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 17 21:11:39 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST