Re: [PATCH] prctl: Deprecate non PR_SET_MM_MAP operations

From: Michal Hocko
Date: Thu Apr 05 2018 - 01:42:46 EST


On Thu 05-04-18 00:29:06, Cyrill Gorcunov wrote:
> On Wed, Apr 04, 2018 at 01:53:08PM -0700, Randy Dunlap wrote:
[...]
> > Yeah, that one's wrong also. :)
>
> So, maybe just get rid of any warning message at all?

or simply do
pr_warn("PR_SET_MM_MAP has been removed. Use <ALTERNATIVE> instead\n");
--
Michal Hocko
SUSE Labs