Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbZDNHJV (ORCPT ); Tue, 14 Apr 2009 03:09:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751925AbZDNHJJ (ORCPT ); Tue, 14 Apr 2009 03:09:09 -0400 Received: from cantor.suse.de ([195.135.220.2]:32998 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751875AbZDNHJI (ORCPT ); Tue, 14 Apr 2009 03:09:08 -0400 Date: Tue, 14 Apr 2009 09:09:04 +0200 From: Nick Piggin To: Linus Torvalds Cc: Wu Fengguang , Andrew Morton , Ying Han , "linux-mm@kvack.org" , linux-kernel , Ingo Molnar , Mike Waychison , Rohit Seth , Hugh Dickins , Peter Zijlstra , "H. Peter Anvin" , =?iso-8859-1?B?VPZy9ms=?= Edwin , Lee Schermerhorn Subject: Re: [PATCH 2/2] Move FAULT_FLAG_xyz into handle_mm_fault() callers Message-ID: <20090414070904.GB23528@wotan.suse.de> References: <604427e00904081302m7b29c538u7781cd8f4dd576f2@mail.gmail.com> <20090409230205.310c68a7.akpm@linux-foundation.org> <20090410073042.GB21149@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1321 Lines: 30 On Fri, Apr 10, 2009 at 09:09:53AM -0700, Linus Torvalds wrote: > > From: Linus Torvalds > Date: Fri, 10 Apr 2009 09:01:23 -0700 > > This allows the callers to now pass down the full set of FAULT_FLAG_xyz > flags to handle_mm_fault(). All callers have been (mechanically) > converted to the new calling convention, there's almost certainly room > for architectures to clean up their code and then add FAULT_FLAG_RETRY > when that support is added. I like these patches, no objections. BTW. I had been even toying with allocating the struct vm_fault structure further up, and filling in various bits as we we call down. Haven't put much time into that, but this patch goes one step toward that.. but arguably this patch is most useful because it allows more "flags" to be passed down. Probably not much more flexibility can be gained from passing down the rest of the vm_fault structure (but I might still try it again in the hope of a readability improvement). > > Signed-off-by: Linus Torvalds > --- > -- 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/