Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763151AbZFPVDz (ORCPT ); Tue, 16 Jun 2009 17:03:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758063AbZFPVDo (ORCPT ); Tue, 16 Jun 2009 17:03:44 -0400 Received: from mk-filter-3-a-1.mail.uk.tiscali.com ([212.74.100.54]:33837 "EHLO mk-filter-3-a-1.mail.uk.tiscali.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761821AbZFPVDn (ORCPT ); Tue, 16 Jun 2009 17:03:43 -0400 X-Trace: 213089703/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/80.41.95.160/None/hugh.dickins@tiscali.co.uk X-SBRS: None X-RemoteIP: 80.41.95.160 X-IP-MAIL-FROM: hugh.dickins@tiscali.co.uk X-SMTP-AUTH: X-MUA: X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlEGAOqkN0pQKV+g/2dsb2JhbACBT9NuhAsF X-IronPort-AV: E=Sophos;i="4.42,231,1243810800"; d="scan'208";a="213089703" Date: Tue, 16 Jun 2009 22:02:48 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@sister.anvils To: Andrea Arcangeli cc: Rik van Riel , Izik Eidus , linux-kernel@vger.kernel.org, nickpiggin@yahoo.com.au Subject: Re: running get_user_pages() from kernel thread In-Reply-To: <20090616203844.GE23969@random.random> Message-ID: References: <4A37DEE7.1000208@redhat.com> <20090616181325.GC23969@random.random> <4A37EA92.7050509@redhat.com> <20090616203844.GE23969@random.random> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 17 On Tue, 16 Jun 2009, Andrea Arcangeli wrote: > On Tue, Jun 16, 2009 at 08:45:05PM +0100, Hugh Dickins wrote: > > liking the below better - what do you think? If you approve, I'll send > > it in to Andrew for mmotm: I can't quite justify it without KSM. > > I think it's definitely better to fix gup to be safe from kernel > thread even without KSM so this can go in mainline well before KSM. > Unless gup requires a swapin fault it won't ever trigger. Yes, you're right, it should go into 2.6.31, no reason not. Hugh -- 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/