From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 2E21D6B0038 for ; Fri, 1 Dec 2017 08:31:48 -0500 (EST) Received: by mail-pf0-f198.google.com with SMTP id f7so7380534pfa.21 for ; Fri, 01 Dec 2017 05:31:48 -0800 (PST) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id p91si2943995plb.255.2017.12.01.05.31.47 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 01 Dec 2017 05:31:47 -0800 (PST) Date: Fri, 1 Dec 2017 14:31:45 +0100 From: Michal Hocko Subject: Re: [PATCH v13 5/7] mm, oom: add cgroup v2 mount option for cgroup-aware OOM killer Message-ID: <20171201133145.w4b4cekruklcgtol@dhcp22.suse.cz> References: <20171130152824.1591-1-guro@fb.com> <20171130152824.1591-6-guro@fb.com> <20171201084113.47lnuo3diwxts732@dhcp22.suse.cz> <20171201131530.GA7741@castle.DHCP.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171201131530.GA7741@castle.DHCP.thefacebook.com> Sender: owner-linux-mm@kvack.org List-ID: To: Roman Gushchin Cc: linux-mm@vger.kernel.org, Vladimir Davydov , Johannes Weiner , Tetsuo Handa , David Rientjes , Andrew Morton , Tejun Heo , kernel-team@fb.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org On Fri 01-12-17 13:15:38, Roman Gushchin wrote: [...] > So, maybe we just need to return -EAGAIN (or may be -ENOTSUP) on any read/write > attempt if option is not enabled? Yes, that would work as well. ENOTSUP sounds better to me. -- Michal Hocko SUSE Labs -- 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