From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by kanga.kvack.org (Postfix) with ESMTP id 6FEC728027E for ; Wed, 15 Jul 2015 05:42:46 -0400 (EDT) Received: by wiga1 with SMTP id a1so123432346wig.0 for ; Wed, 15 Jul 2015 02:42:45 -0700 (PDT) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com. [209.85.212.179]) by mx.google.com with ESMTPS id bn5si6951196wjb.37.2015.07.15.02.42.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 02:42:45 -0700 (PDT) Received: by widic2 with SMTP id ic2so58675454wid.0 for ; Wed, 15 Jul 2015 02:42:44 -0700 (PDT) Date: Wed, 15 Jul 2015 11:42:41 +0200 From: Michal Hocko Subject: Re: [PATCH 2/4] oom: Do not invoke oom notifiers on sysrq+f Message-ID: <20150715094240.GF5101@dhcp22.suse.cz> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Andrew Morton , Jakob Unterwurzacher , linux-mm@kvack.org, LKML On Tue 14-07-15 14:58:55, David Rientjes wrote: > On Fri, 10 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. -- 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