[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100318093042.b6b77d8f.kamezawa.hiroyu@jp.fujitsu.com>
Date: Thu, 18 Mar 2010 09:30:42 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Christoph Lameter <cl@...ux-foundation.org>
Cc: Minchan Kim <minchan.kim@...il.com>, Mel Gorman <mel@....ul.ie>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrea Arcangeli <aarcange@...hat.com>,
Adam Litke <agl@...ibm.com>, Avi Kivity <avi@...hat.com>,
David Rientjes <rientjes@...gle.com>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Rik van Riel <riel@...hat.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [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@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists