From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by kanga.kvack.org (Postfix) with ESMTP id 051C16B0032 for ; Fri, 16 Jan 2015 07:52:14 -0500 (EST) Received: by mail-lb0-f173.google.com with SMTP id b6so5456157lbj.4 for ; Fri, 16 Jan 2015 04:52:13 -0800 (PST) Received: from jenni1.inet.fi (mta-out1.inet.fi. [62.71.2.203]) by mx.google.com with ESMTP id i7si8129436wjy.120.2015.01.16.04.52.12 for ; Fri, 16 Jan 2015 04:52:12 -0800 (PST) Date: Fri, 16 Jan 2015 14:51:42 +0200 From: "Kirill A. Shutemov" Subject: Re: [PATCH 2/5] mm: gup: add __get_user_pages_unlocked to customize gup_flags Message-ID: <20150116125142.GD29085@node.dhcp.inet.fi> References: <1421167074-9789-1-git-send-email-aarcange@redhat.com> <1421167074-9789-3-git-send-email-aarcange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1421167074-9789-3-git-send-email-aarcange@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michel Lespinasse , Andrew Jones , Hugh Dickins , Mel Gorman , Andres Lagar-Cavilla , Minchan Kim , KOSAKI Motohiro , "\\\"Dr. David Alan Gilbert\\\"" , Peter Feiner , Peter Zijlstra , Benjamin Herrenschmidt , James Bottomley , David Miller , Steve Capper , Johannes Weiner On Tue, Jan 13, 2015 at 05:37:51PM +0100, Andrea Arcangeli wrote: > Some caller (like KVM) may want to set the gup_flags like > FOLL_HWPOSION to get a proper -EHWPOSION retval instead of -EFAULT to > take a more appropriate action if get_user_pages runs into a memory > failure. > > Signed-off-by: Andrea Arcangeli Reviewed-by: Kirill A. Shutemov -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org