From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id A13736B0038 for ; Fri, 8 Dec 2017 15:57:48 -0500 (EST) Received: by mail-pg0-f72.google.com with SMTP id q3so8780847pgv.16 for ; Fri, 08 Dec 2017 12:57:48 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id q9si5904559plr.765.2017.12.08.12.57.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 12:57:46 -0800 (PST) Date: Fri, 8 Dec 2017 12:57:34 -0800 From: Matthew Wilcox Subject: Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE Message-ID: <20171208205734.GB32293@bombadil.infradead.org> References: <20171130065835.dbw4ajh5q5whikhf@dhcp22.suse.cz> <20171201152640.GA3765@rei> <87wp20e9wf.fsf@concordia.ellerman.id.au> <20171206045433.GQ26021@bombadil.infradead.org> <20171206070355.GA32044@bombadil.infradead.org> <87bmjbks4c.fsf@concordia.ellerman.id.au> <20171207195727.GA26792@bombadil.infradead.org> <20171208083315.GR20234@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Kees Cook Cc: Michal Hocko , Michael Ellerman , Cyril Hrubis , Linux API , Khalid Aziz , Andrew Morton , Russell King - ARM Linux , Andrea Arcangeli , Linux-MM , LKML , linux-arch , Florian Weimer , John Hubbard , Abdul Haleem , Joel Stanley , Pavel Machek On Fri, Dec 08, 2017 at 12:13:31PM -0800, Kees Cook wrote: > On Fri, Dec 8, 2017 at 12:33 AM, Michal Hocko wrote: > > OK, this doesn't seem to lead to anywhere. The more this is discussed > > the more names we are getting. So you know what? I will resubmit and > > keep my original name. If somebody really hates it then feel free to > > nack the patch and push alternative and gain concensus on it. > > > > I will keep MAP_FIXED_SAFE because it is an alternative to MAP_FIXED so > > having that in the name is _useful_ for everybody familiar with > > MAP_FIXED already. And _SAFE suffix tells that the operation doesn't > > cause any silent memory corruptions or other unexpected side effects. > > Looks like consensus is MAP_FIXED_NOREPLACE. I'd rather MAP_AT_ADDR or MAP_REQUIRED, but I prefer FIXED_NOREPLACE to FIXED_SAFE. I just had a thought though -- MAP_STATIC? ie don't move it. -- 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