Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753158AbdLMNFE (ORCPT ); Wed, 13 Dec 2017 08:05:04 -0500 Received: from mx2.suse.de ([195.135.220.15]:52773 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752847AbdLMNFA (ORCPT ); Wed, 13 Dec 2017 08:05:00 -0500 Date: Wed, 13 Dec 2017 14:04:58 +0100 From: Michal Hocko To: Pavel Machek Cc: Michael Kerrisk , linux-api@vger.kernel.org, Khalid Aziz , Michael Ellerman , Andrew Morton , Russell King - ARM Linux , Andrea Arcangeli , linux-mm@kvack.org, LKML , linux-arch@vger.kernel.org, Florian Weimer , John Hubbard , Matthew Wilcox , Jann Horn , Mike Rapoport , Cyril Hrubis Subject: Re: [PATCH 2/2] mmap.2: MAP_FIXED updated documentation Message-ID: <20171213130458.GI25185@dhcp22.suse.cz> References: <20171213092550.2774-1-mhocko@kernel.org> <20171213093110.3550-1-mhocko@kernel.org> <20171213093110.3550-2-mhocko@kernel.org> <20171213125540.GA18897@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171213125540.GA18897@amd> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 534 Lines: 16 On Wed 13-12-17 13:55:40, Pavel Machek wrote: > On Wed 2017-12-13 10:31:10, Michal Hocko wrote: > > From: John Hubbard > > > > -- Expand the documentation to discuss the hazards in > > enough detail to allow avoiding them. > > > > -- Mention the upcoming MAP_FIXED_SAFE flag. > > Pretty map everyone agreed MAP_FIXED_SAFE was a bad > name. MAP_FIXED_NOREPLACE (IIRC) was best replacement. Please read http://lkml.kernel.org/r/20171213092550.2774-1-mhocko@kernel.org -- Michal Hocko SUSE Labs