Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

From: yalin wang
Date: Mon May 18 2015 - 21:58:19 EST


2015-05-18 21:04 GMT+08:00 Anisse Astier <anisse@xxxxxxxxx>:
> On Mon, May 18, 2015 at 3:02 PM, Pavel Machek <pavel@xxxxxx> wrote:
>>
>> Ok. So there is class of errors where this helps, but you are not
>> aware of any such errors in kernel, so you can't fix them... Right?
>
> Correct.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
i feel your patch is the same as CONFIG_DEBUG_PAGEALLOC ,
the difference is that CONFIG_DEBUG_PAGEALLOC will clear
page to a magic number, while your patch will
clear to zero,
do we really need this duplicated function ?

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/