Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423326AbbEOANf (ORCPT ); Thu, 14 May 2015 20:13:35 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:36410 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423271AbbEOANc (ORCPT ); Thu, 14 May 2015 20:13:32 -0400 Date: Thu, 14 May 2015 17:13:29 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Michal Hocko cc: Michael Kerrisk , Andrew Morton , Linus Torvalds , LKML , Linux API , linux-mm@kvack.org, Michal Hocko Subject: Re: [PATCH 2/2] mmap2: clarify MAP_POPULATE In-Reply-To: <1431527892-2996-3-git-send-email-miso@dhcp22.suse.cz> Message-ID: References: <1431527892-2996-1-git-send-email-miso@dhcp22.suse.cz> <1431527892-2996-3-git-send-email-miso@dhcp22.suse.cz> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) 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: 800 Lines: 20 On Wed, 13 May 2015, Michal Hocko wrote: > From: Michal Hocko > > David Rientjes has noticed that MAP_POPULATE wording might promise much > more than the kernel actually provides and intend to provide. The > primary usage of the flag is to pre-fault the range. There is no > guarantee that no major faults will happen later on. The pages might > have been reclaimed by the time the process tries to access them. > > Signed-off-by: Michal Hocko Acked-by: David Rientjes Thanks for following up! -- 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/