Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753988AbdIDRcl (ORCPT ); Mon, 4 Sep 2017 13:32:41 -0400 Received: from mail-yw0-f174.google.com ([209.85.161.174]:35282 "EHLO mail-yw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753958AbdIDRci (ORCPT ); Mon, 4 Sep 2017 13:32:38 -0400 X-Google-Smtp-Source: ADKCNb5lExV6zOdUhpFqzCaZHrGHYEcTUkOVf3gePCmhTytVkyEeBv0WsrO+VgoUVlXkrRy0+sP7UynT4QZ4PKzxf6c= MIME-Version: 1.0 In-Reply-To: <20170904142108.7165-6-guro@fb.com> References: <20170904142108.7165-1-guro@fb.com> <20170904142108.7165-6-guro@fb.com> From: Shakeel Butt Date: Mon, 4 Sep 2017 10:32:37 -0700 Message-ID: Subject: Re: [v7 5/5] mm, oom: cgroup v2 mount option to disable cgroup-aware OOM killer To: Roman Gushchin Cc: Linux MM , Michal Hocko , 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, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 557 Lines: 13 On Mon, Sep 4, 2017 at 7:21 AM, Roman Gushchin wrote: > Introducing of cgroup-aware OOM killer changes the victim selection > algorithm used by default: instead of picking the largest process, > it will pick the largest memcg and then the largest process inside. > > This affects only cgroup v2 users. > > To provide a way to use cgroups v2 if the old OOM victim selection > algorithm is preferred for some reason, the nogroupoom mount option > is added. Is this mount option or boot parameter? From the code, it seems like a boot parameter.