Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp193299imm; Wed, 3 Oct 2018 14:21:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV60B1hoc+/8F8Od8FoGzb6M5jozkaHGHeMugzVSgpL9JJZntwTW83jxVITfiR/aMhhhThcLM X-Received: by 2002:a17:902:b695:: with SMTP id c21-v6mr3437856pls.167.1538601719148; Wed, 03 Oct 2018 14:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538601719; cv=none; d=google.com; s=arc-20160816; b=vhWGTZgN5nen0RUIXmNcQ53REzTC3sBd1+S2OyPOoyeoimCr84islkbqieN+q7BaCI 7GX4qmxdRdwtQgnlTlDQQS+euKP+TjCAcVrm9CJKx4RkDoRvkawvZhXcab/Uzwkaj1RB phq1KE2qoDaAMK3CuHht150FzhyZDBSzRKX25OtubWWCO1Nzq1eGgWjp7MhK7YkKsRw0 fMhWqswCxULcB8/R9uezfqNEPpsYx+0tH2EdRmLBqK+0fh+uiBwlelOi37E35u5gNIdA twjxpKjdLi+dLtYo+2wvnbem+MeC3Zjxm4Tz9EDyxVFQqRy1mhNzczYpalSE0gpa+6wW KrIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=IcAZ4CCmlYV2CfOLxxGyi/iU82t+94nJh3NTNhsYqnc=; b=QRB8pn7I5JS0eR6hloMi4er0/4o76OpCkd+6znoAddW+o5S/XVCrzZbE/j6iJfA9PM MTd3uRyp0pXhFZ36d6Ct59fNHjt1vCAh0ikczrtByaNMjC6vKGnXqFgcxEme5g0uzOMQ gdncSxlAs2d87jUBlqtsQCAc5ITix2+rUhNQZc4h/eK3SE+KRozuiDczhJBoP+98EJRh p64OSVijoH/HVOLxnqR7aYd6h08/eBbBud06aOYINqhnebrFhJD0MFOLPAqkbLwi+v61 7fKIFePvSwKQQm1I+77Wiy52se3KwjKWiAPO6JJX//Mhw4vHpF5//NB87V7BOWHA7/Hs cDqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn7si2576249plb.264.2018.10.03.14.21.43; Wed, 03 Oct 2018 14:21:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727058AbeJDELc (ORCPT + 99 others); Thu, 4 Oct 2018 00:11:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39648 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbeJDELc (ORCPT ); Thu, 4 Oct 2018 00:11:32 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 28AB1308FBA3; Wed, 3 Oct 2018 21:21:27 +0000 (UTC) Received: from asgard.redhat.com (ovpn-200-17.brq.redhat.com [10.40.200.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8E5B0589B; Wed, 3 Oct 2018 21:21:16 +0000 (UTC) Date: Wed, 3 Oct 2018 23:21:44 +0200 From: Eugene Syromiatnikov To: Jann Horn Cc: yu-cheng.yu@intel.com, Andy Lutomirski , the arch/x86 maintainers , "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , kernel list , linux-doc@vger.kernel.org, Linux-MM , linux-arch , Linux API , Arnd Bergmann , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Florian Weimer , hjl.tools@gmail.com, Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , rdunlap@infradead.org, ravi.v.shankar@intel.com, vedvyas.shanbhogue@intel.com Subject: Re: [RFC PATCH v4 24/27] mm/mmap: Create a guard area between VMAs Message-ID: <20181003212029.GH32759@asgard.redhat.com> References: <20180921150351.20898-1-yu-cheng.yu@intel.com> <20180921150351.20898-25-yu-cheng.yu@intel.com> <20181003045611.GB22724@asgard.redhat.com> <5ddb0ad33298d1858e530fce9c9ea2788b2fac81.camel@intel.com> <20181003163226.GC9449@asgard.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Wed, 03 Oct 2018 21:21:27 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 03, 2018 at 06:52:40PM +0200, Jann Horn wrote: > On Wed, Oct 3, 2018 at 6:32 PM Eugene Syromiatnikov wrote: > > I'm not sure, however, whether such a change that provides no ability > > to configure or affect it will go well with all the supported > > architectures. > > Is there a concrete reason why you think an architecture might not > like this? As far as I can tell, the virtual address space overhead > should be insignificant even for 32-bit systems. Not really, and not architectures per se, but judging by some past experiences with enabling ASLR, I would expect that all kinds of weird applications may start to behave in all kinds of strange ways. Not that I have anything more than this doubt, however; but this sort of change without any ability to tune or revert it still looks unusual to me.