lkml.org 
[lkml]   [2015]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch v2 4/4] mm, mempool: poison elements backed by page allocator
On Tue, 24 Mar 2015 16:10:01 -0700 (PDT) David Rientjes <rientjes@google.com> wrote:

> Elements backed by the slab allocator are poisoned when added to a
> mempool's reserved pool.
>
> It is also possible to poison elements backed by the page allocator
> because the mempool layer knows the allocation order.
>
> This patch extends mempool element poisoning to include memory backed by
> the page allocator.
>
> This is only effective for configs with CONFIG_DEBUG_SLAB or
> CONFIG_SLUB_DEBUG_ON.
>

Maybe mempools should get KASAN treatment (as well as this)?


\
 
 \ /
  Last update: 2015-03-25 23:01    [W:0.096 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site