Received: by 10.223.164.202 with SMTP id h10csp2064352wrb; Mon, 27 Nov 2017 11:19:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMYZatbgA17s0csJdoIjgLPZTop/qizc+n/lpYQ4tPAPCRKCos2lYVnoapLCb0oknBbu9ck7 X-Received: by 10.99.113.83 with SMTP id b19mr37437054pgn.41.1511810356208; Mon, 27 Nov 2017 11:19:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511810356; cv=none; d=google.com; s=arc-20160816; b=JnD9DtbEpq+TaQst9xaAqw+ccpfRW9sQ8k1MlvNo0x9RRjqZKOzY6pJLvpom6Ypata HFZo/Wn0aX1MdB29c0pFzyHtmP03Tl520UaMbKihfg5nbUmT6um4vPNHyxvCt2r6loW4 YlBKA5Z6DB6Jom0yuCVPaDSYmzf8Wxx99uD0ChRq7GySeeUBcvvRVdlm1RsrohrJqAwq Zu+/ght2sPu6yXEVVNT4iULDHHGYn09/5sDuHhYMFYcdqMJTNUVH3uZeYLwSVgaBm9d0 VWdcrTtSFJH5RihlSQn3IVQmDLP8FJ5KRsJlaIMM/rEcqfvzjBGy1cIdnPsC8GOO9eso IFBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=fQaFnRKRQ+8MTRfnquyw6ylpByFUmD5pwHBtMfZAtlU=; b=t5v+cOVHYPSVVj6mepMoWjwExA6ilop2rhxKY6L1acoZOuE1oyfFV8TVXHGGk60YHm jgez5rD1u3mEq8DNMvQ9YIxwJ5famMUPCXwryzSH0JB1I6bPKBNPLoiM+WNynLbI0TvK gCxr77hf04IkMdGpNjjZ7w24yPwf1wjbx1nrwT93seDmgUKOAlGOdlTIsKynvA/k1kt/ 7RfOeZpD1i8PcMvklkNvpmc4puYvkI2Jr4mupciVMGOA78q95La2R9FHFa8GcxiXPDcX 25roEbLWIRPI5Saem9pP2mkMqqwwI8ci1gbs4fDe2RyLHCLAskD0O5VV+oYTYDqLQoJd 2VKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kYPX616G; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j33si3581735pld.593.2017.11.27.11.19.04; Mon, 27 Nov 2017 11:19:16 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kYPX616G; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753136AbdK0TSD (ORCPT + 79 others); Mon, 27 Nov 2017 14:18:03 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:37056 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752516AbdK0TSB (ORCPT ); Mon, 27 Nov 2017 14:18:01 -0500 Received: by mail-ot0-f196.google.com with SMTP id s4so25209455ote.4; Mon, 27 Nov 2017 11:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fQaFnRKRQ+8MTRfnquyw6ylpByFUmD5pwHBtMfZAtlU=; b=kYPX616GgSqH8nS9YnjJC7L8LPoP6QyiVP1gB1S48j2So3fakQRxcMlRLATN8nhDhk CyjI996RC3ZF1qAJriquwNLSzv/KQ1xGwjIq64hasSSIUCaN6qJXuleRzxE70s1M5WU0 +xfvWzbw6lKBBiy7bzlEg4R6nS0bzkwCCPwn1Ph4gYCepQQDkivkkoFTDvjc/mr/IN++ DN3EDjUW3SDxLJIsiHvlOAbCY0bF0LE4P3tn58R58rSyBjn36UuRZ1yiP8R778jUGxPm QLQDCnZQpSlnHoCkZh7jRB33DvZZppmaHC8NW5Kpo2ZAcGlhVaP2+h2GuJ9CI+0/gi54 tpgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fQaFnRKRQ+8MTRfnquyw6ylpByFUmD5pwHBtMfZAtlU=; b=ooVZYcAVyi4jseXCoUhhUrtKvm1AYm06CyrzAzcHO7UpLfRNlqhidYEDbJiYfHdqYs 1JJ1TkNNXFhw2SBo85CUw7oplD/DuTgcYzNh6T4cfD7k7IzhP4sbnznE8Cht1mkDd3pw G1FGlGWrMyWNSZ27ippbzq7Wz78JeGJzGdlWAPfFYzDYVQ/iDdqzT2qFz5joTAUHKwTA 8V60+Oi5I3pq6ul6kFIFSsRa76hk3h1Hgr88MHvAVJ0AuZffuPcShUV9afqLYc5xriSU qi8QeO/ux+qeTyn15kgxxH0iuS6iAITi298SJB0qOg9J+R7lov9BZc6Mk3F+3kbbnaX/ yGcw== X-Gm-Message-State: AJaThX7dVpbqFizgGwxCFN4UO3chslQ1DJJt69jG9rSPVU3ps+3Oigqc VBO82BqYvgG+xxcJGd2reIzPtgAKPZAOxfQ2LDA= X-Received: by 10.157.38.248 with SMTP id i53mr25989477otd.94.1511810280506; Mon, 27 Nov 2017 11:18:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.50.138 with HTTP; Mon, 27 Nov 2017 11:18:00 -0800 (PST) In-Reply-To: <20171127101232.ykriowhatecnvjvg@dhcp22.suse.cz> References: <23066.59196.909026.689706@gargle.gargle.HOWL> <20171127101232.ykriowhatecnvjvg@dhcp22.suse.cz> From: Mikael Pettersson Date: Mon, 27 Nov 2017 20:18:00 +0100 Message-ID: Subject: Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit To: Michal Hocko Cc: linux-mm@kvack.org, "linux-kernel@vger.kernel.org" , linux-fsdevel@vger.kernel.org, Linux API Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 27, 2017 at 11:12 AM, Michal Hocko wrote: > > I've kept the kernel tunable to not break the API towards user-space, > > but it's a no-op now. Also the distinction between split_vma() and > > __split_vma() disappears, so they are merged. > > Could you be more explicit about _why_ we need to remove this tunable? > I am not saying I disagree, the removal simplifies the code but I do not > really see any justification here. In principle you don't "need" to, as those that know about it can bump it to some insanely high value and get on with life. Meanwhile those that don't (and I was one of them until fairly recently, and I'm no newcomer to Unix or Linux) get to scratch their heads and wonder why the kernel says ENOMEM when one has loads of free RAM. But what _is_ the justification for having this arbitrary limit? There might have been historical reasons, but at least ELF core dumps are no longer a problem. /Mikael From 1585245240465682384@xxx Mon Nov 27 18:34:31 +0000 2017 X-GM-THRID: 1585145582796220475 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread