lkml.org 
[lkml]   [2010]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/11] mm,migration: Do not try to migrate unmapped anonymous pages
On Wed, 17 Mar 2010 11:41:10 -0500 (CDT)
Christoph Lameter <cl@linux-foundation.org> wrote:

> On Wed, 17 Mar 2010, KAMEZAWA Hiroyuki wrote:
>
> > Ah, my point is "how use-after-free is detected ?"
>
> The slab layers do not check for use after free conditions if
> SLAB_DESTROY_BY_RCU is set. It is legal to access the object after a
> kfree() etc as long as the RCU period has not passed.
>
> > Then, my question is
> > "Does use-after-free check for SLAB_DESTROY_BY_RCU work correctly ?"
>
> Use after free checks are not performed for SLAB_DESTROY_BY_RCU slabs.
>
Thank you for kindly clarification. I have no more concerns.

Thanks,
-Kame




\
 
 \ /
  Last update: 2010-03-18 01:37    [W:2.773 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site