Received: by 10.223.164.202 with SMTP id h10csp2074429wrb; Mon, 27 Nov 2017 11:29:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMbYt6tdSTSRSXIl2i562d9T01NDBSSG0/EPcZDLuvt3SKOKhFu01Yrq2SpzQpkllsgDa4Tj X-Received: by 10.84.143.131 with SMTP id 3mr22478855plz.113.1511810963291; Mon, 27 Nov 2017 11:29:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511810963; cv=none; d=google.com; s=arc-20160816; b=nfpkPyBm6SHO3gQvca9vtm9zFrxkw03ccgLSbxPAp0ZIi4C+o+vJPsm1+YuJ0bZ7Z6 xjLoI06sDN7waRcm2PF7Md5gcfRyZLZWwqsRZaqLMpR7issJ6ZmHif06xncIezpDnvne 6cwmgNJodacPlo6BXwy5+g4YBJ+Rn1Sj2ERSRgaRKKfmdpHwtESPx+aE7vzLBGWEiyeO LeQ2NIdvvfYN/BTX3GagTHAErTvYBUYvDUjdqdOz8MfnYbBm4fh3U0Bk3+4LGtdwKCQ4 A7ZSt81+oJsN7vc3zsK5Wy6nhutD1hSmau94i3GXkwYMKocFEJQPA//p/B4kOlO5xGLw ACvA== 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=8UKwwTAL0JMDCrK1AfCQn1SM7pkE7vBlX9IWSCWSyes=; b=WSuQSBFH/nqRf7ZYpbmaFWCZdlnnyIp6/+SuF81y+x9oyjnIIuguxO1yhLi4uot0Tf DNZMy+XuIBhA/w4rQcStIU73jgs7qd7m2eSEVmTdbtKXPMkkd5FTiGx0P88JBcSVp0Wk e3WcSxycklRn8y4ZIKgilY1Qv7h3kdwxBfbll+suaT8S9RFPDh2FLdKxeQme3+2+yQLB lfFp4yjzdSb0/8oWFwagKVg+0BrSmZ/bd/CPH+ByrobVj+uPLRp+j3VyPTFBOZ+5ompv aAuSeY8gQD8hJdpc5yHpYIFNeunEka9PrCCrz6D7HVTLNUu/SwTeLgdYRrniANZAfAEp X1Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RSwsux9g; 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 q13si22673664pgt.668.2017.11.27.11.29.11; Mon, 27 Nov 2017 11:29:23 -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=RSwsux9g; 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 S1753306AbdK0T2a (ORCPT + 79 others); Mon, 27 Nov 2017 14:28:30 -0500 Received: from mail-oi0-f50.google.com ([209.85.218.50]:42382 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752701AbdK0T22 (ORCPT ); Mon, 27 Nov 2017 14:28:28 -0500 Received: by mail-oi0-f50.google.com with SMTP id p23so17109728oie.9; Mon, 27 Nov 2017 11:28:28 -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=8UKwwTAL0JMDCrK1AfCQn1SM7pkE7vBlX9IWSCWSyes=; b=RSwsux9gTBMVCTgZ1grALmGwZGriJ4VgXk/6TB9IOGlve05uOCF4KmLl4uDXiDS7Yq ym5P2GOYRHhmEGuaG+Uh87M5kaLAUfrD+gVcp5VbDj9Lxi0nb4H9bU4R4+zlV5MZMIUB ay6qWZu0V1t6GzLSwOpmUT0Dce5kL1iD8CFxRHLXN9Di+G7XwIC8v4OMVGGCyU24CAqQ n9eD0J1+zSbGP+E/sBACGfhrRet31fUMjeMyHzlIdXNTWBVxL7GrwsgMPa8IYSvNPD0Q lLatvoCE8JGNDVclSDRGL++HFnjAWtA7sUg4i7rTDhom/8gCM+jZ0QYf/z5e9KMfqTwp NFcw== 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=8UKwwTAL0JMDCrK1AfCQn1SM7pkE7vBlX9IWSCWSyes=; b=Yry8SEaIJVNdYgayx/RipfND258uErHcTOU4lZtBsUS8hIABIDeh6t6qtVnSYc9HKI wxEJcLI8r+0xZU9eweONjL52FS4itCom4M3FO5hoThsJ8kYs22HcBA7n3Ve2EvEI5Cw4 7EvdUtgsO4Ws1RlcYkFAhaTH7aFEvf+JyVIeSYE/7uajqzfte2uayAHUbE1K+rWt+wD0 +1z6ES4C0W7L16rRg6DnRdnydj88gX8ENU41zIeNWbPaycDfdZSF1wcYl2D6nAptjrK1 8v5SKC7r5c79oTdtWF3VBrevnJ3iGqgdqkJPzmYjZ3PIcg74ZLNB4CETZZEvuW5PT2rH 7Stg== X-Gm-Message-State: AJaThX77efNx/P6uTS7EMquu1CJmTyVUEsBtYXPrTl6qhwSHLuwQO5hH lxa6NRsb+Atsr+hwrEk81ni1gRUUFpPIbQsJOOdiDg== X-Received: by 10.202.74.78 with SMTP id x75mr16121952oia.355.1511810907615; Mon, 27 Nov 2017 11:28:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.50.138 with HTTP; Mon, 27 Nov 2017 11:28:27 -0800 (PST) In-Reply-To: <20171127162207.GA8265@bombadil.infradead.org> References: <23066.59196.909026.689706@gargle.gargle.HOWL> <20171127101232.ykriowhatecnvjvg@dhcp22.suse.cz> <20171127162207.GA8265@bombadil.infradead.org> From: Mikael Pettersson Date: Mon, 27 Nov 2017 20:28:27 +0100 Message-ID: Subject: Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit To: Matthew Wilcox Cc: Michal Hocko , 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 5:22 PM, Matthew Wilcox wrote: >> 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. > > I imagine he started seeing random syscalls failing with ENOMEM and > eventually tracked it down to this stupid limit we used to need. Exactly, except the origin (mmap() failing) was hidden behind layers upon layers of user-space memory management code (not ours), which just said "failed to allocate N bytes" (with N about 0.001% of the free RAM). And it wasn't reproducible. From 1585248055825199290@xxx Mon Nov 27 19:19:15 +0000 2017 X-GM-THRID: 1585145582796220475 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread