From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by kanga.kvack.org (Postfix) with ESMTP id 4370D2802BB for ; Wed, 15 Jul 2015 18:21:48 -0400 (EDT) Received: by igbpg9 with SMTP id pg9so385892igb.0 for ; Wed, 15 Jul 2015 15:21:48 -0700 (PDT) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com. [2607:f8b0:4001:c03::231]) by mx.google.com with ESMTPS id ah9si5324831icc.105.2015.07.15.15.21.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 15:21:47 -0700 (PDT) Received: by ietj16 with SMTP id j16so43962444iet.0 for ; Wed, 15 Jul 2015 15:21:47 -0700 (PDT) Date: Wed, 15 Jul 2015 15:21:46 -0700 (PDT) From: David Rientjes Subject: Re: [PATCH 2/4] oom: Do not invoke oom notifiers on sysrq+f In-Reply-To: <20150715094240.GF5101@dhcp22.suse.cz> Message-ID: References: <1436360661-31928-1-git-send-email-mhocko@suse.com> <1436360661-31928-3-git-send-email-mhocko@suse.com> <20150709085505.GB13872@dhcp22.suse.cz> <20150710074032.GA7343@dhcp22.suse.cz> <20150715094240.GF5101@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Andrew Morton , Jakob Unterwurzacher , linux-mm@kvack.org, LKML On Wed, 15 Jul 2015, Michal Hocko wrote: > > > Shrinkers are there to reclaim and prevent from OOM. This API is a gray > > > zone. It looks generic method for the notification yet it allows to > > > prevent from oom killer. I can imagine somebody might abuse this > > > interface to implement OOM killer policies. > > > > > > Anyway, I think it would be preferable to kill it altogether rather than > > > play with its placing. It will always be a questionable API. > > > > > > > Agreed. > > In such a case it would be still good to fix the bug fixed by this > patch. > It's fixed if you follow the suggestion of moving the oom notification out of the oom killer where it doesn't belong. -- 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