From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by kanga.kvack.org (Postfix) with ESMTP id E7EB4280268 for ; Tue, 14 Jul 2015 17:58:57 -0400 (EDT) Received: by ietj16 with SMTP id j16so21154604iet.0 for ; Tue, 14 Jul 2015 14:58:57 -0700 (PDT) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com. [2607:f8b0:4001:c05::22e]) by mx.google.com with ESMTPS id dp6si2479818icb.67.2015.07.14.14.58.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 14:58:57 -0700 (PDT) Received: by igbij6 with SMTP id ij6so57276858igb.1 for ; Tue, 14 Jul 2015 14:58:57 -0700 (PDT) Date: Tue, 14 Jul 2015 14:58:55 -0700 (PDT) From: David Rientjes Subject: Re: [PATCH 2/4] oom: Do not invoke oom notifiers on sysrq+f In-Reply-To: <20150710074032.GA7343@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> 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 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. -- 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