Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261429AbVCRCHB (ORCPT ); Thu, 17 Mar 2005 21:07:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261426AbVCRCHB (ORCPT ); Thu, 17 Mar 2005 21:07:01 -0500 Received: from omx3-ext.sgi.com ([192.48.171.20]:59533 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S261421AbVCRCG6 (ORCPT ); Thu, 17 Mar 2005 21:06:58 -0500 Date: Thu, 17 Mar 2005 18:06:45 -0800 From: Jason Uhlenkott To: Christoph Lameter 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 Message-ID: <20050318020645.GC156968@dragonfly.engr.sgi.com> References: <20050317140831.414b73bb.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 671 Lines: 14 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. - 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/