Re: [PATCH] mm: Add additional consistency check

From: Michal Hocko
Date: Tue Apr 11 2017 - 15:40:04 EST


On Tue 11-04-17 13:59:44, Cristopher Lameter wrote:
> On Tue, 11 Apr 2017, Michal Hocko wrote:
>
> > I didn't say anything like that. Hence the proposed patch which still
> > needs some more thinking and evaluation.
>
> This patch does not even affect kfree().

Ehm? Are we even talking about the same thing? The whole discussion was
to catch invalid pointers to _kfree_ and why BUG* is not the best way to
handle that.

> Could you start another
> discussion thread where you discuss your suggestions for the changes in
> the allocators and how we could go about this?

I presume Kees will pursue
http://lkml.kernel.org/r/20170411141956.GP6729@xxxxxxxxxxxxxx or
something along those lines.

--
Michal Hocko
SUSE Labs