Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932165AbWAEUah (ORCPT ); Thu, 5 Jan 2006 15:30:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932169AbWAEUah (ORCPT ); Thu, 5 Jan 2006 15:30:37 -0500 Received: from omx3-ext.sgi.com ([192.48.171.26]:24767 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S932165AbWAEUag (ORCPT ); Thu, 5 Jan 2006 15:30:36 -0500 Date: Thu, 5 Jan 2006 12:30:30 -0800 (PST) From: Christoph Lameter To: Andrew Morton cc: jeff shia , linux-kernel@vger.kernel.org Subject: Re: what is the state of current after an mm_fault occurs? In-Reply-To: <20060104192334.1e88cfda.akpm@osdl.org> Message-ID: References: <7cd5d4b40601040240n79b2d654t33424e91059988a9@mail.gmail.com> <20060104174808.7b882af8.akpm@osdl.org> <7cd5d4b40601041920u596551d2h75e167311e9452e4@mail.gmail.com> <20060104192334.1e88cfda.akpm@osdl.org> 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: 640 Lines: 18 On Wed, 4 Jan 2006, Andrew Morton wrote: > > You mean in some pagefault place we do schedule()? > > We used to - that should no longer be the case. The TASK_RUNNING thing is > probably redundant now. The page fault handler calls the page allocator in various places which may sleep. current may not point to the current process if the page fault handler was called from get_user_pages. - 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/