Messages in this thread | | | 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 |
| |
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
| |