Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261430AbVCRCKS (ORCPT ); Thu, 17 Mar 2005 21:10:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261428AbVCRCKS (ORCPT ); Thu, 17 Mar 2005 21:10:18 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:6361 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S261372AbVCRCKA (ORCPT ); Thu, 17 Mar 2005 21:10:00 -0500 Date: Thu, 17 Mar 2005 18:09:11 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Jason Uhlenkott cc: Andrew Morton , holt@sgi.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: [PATCH] Prezeroing V8 + free_hot_zeroed_page + free_cold_zeroed page In-Reply-To: <20050318020645.GC156968@dragonfly.engr.sgi.com> Message-ID: References: <20050317140831.414b73bb.akpm@osdl.org> <20050318020645.GC156968@dragonfly.engr.sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 796 Lines: 19 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/