lkml.org 
[lkml]   [2014]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Need help in bug in isolate_migratepages_range
On Mon, 3 Feb 2014, Vlastimil Babka wrote:

> It seems to come from balloon_page_movable() and its test page_count(page) ==
> 1.
>

Hmm, I think it might be because compound_head() == NULL here. Holger,
this looks like a race condition when allocating a compound page, did you
only see it once or is it actually reproducible?

I think this happens when a new compound page is allocated and PageBuddy
is cleared before prep_compound_page() and then we see PageTail(p) set but
p->first_page is not yet initialized. Is there any way to avoid memory
barriers in compound_page()?


\
 
 \ /
  Last update: 2014-02-04 01:41    [W:0.157 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site