From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762383AbdJQNmT (ORCPT ); Tue, 17 Oct 2017 09:42:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33958 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755427AbdJQNmR (ORCPT ); Tue, 17 Oct 2017 09:42:17 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4307BABBB9 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=bhe@redhat.com Date: Tue, 17 Oct 2017 21:42:11 +0800 From: Baoquan He To: Michal Hocko Cc: LKML , Linus Torvalds , Kees Cook , Jiri Kosina , Al Viro , Oleg Nesterov , Ingo Molnar Subject: Re: [PATCH 1/2] fs, elf: drop MAP_FIXED usage from elf_map Message-ID: <20171017134211.GA15098@x1> References: <20171004075059.bbx7madwgwflb7ky@dhcp22.suse.cz> <20171016134446.19910-1-mhocko@kernel.org> <20171016134446.19910-2-mhocko@kernel.org> <20171017122614.GJ11198@x1> <20171017125605.7quzqa3swvagyeiq@dhcp22.suse.cz> <20171017132246.GK11198@x1> <20171017133324.y2nkse6svunpd5s2@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171017133324.y2nkse6svunpd5s2@dhcp22.suse.cz> User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 17 Oct 2017 13:42:17 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/17 at 03:33pm, Michal Hocko wrote: > On Tue 17-10-17 21:22:46, Baoquan He wrote: > [...] > > And as I said before, then we will still have the > > ungraceful 'mapping total'|'unmapping the rest' method. > > yes I haven't touched this part and I guess you are right it can be > removed now, but this was not my primary concern to adddress so there is > still some room for improvements on top. If you want to refactor that > part, then feel free to do so but I think that we should address the > MAP_FIXED part first. OK, I am fine. Then let's focus on this issue you are addressing. Sorry for the noise. :-) Thanks Baoquan