Re: [PATCH] mm: page_alloc: store updated page migratetype to avoid misusing stale value

2014-11-20 Thread Vlastimil Babka
On 11/20/2014 02:42 PM, Weijie Yang wrote: > On Thu, Nov 20, 2014 at 5:28 AM, Vlastimil Babka wrote: >> On 11/17/2014 11:40 AM, Weijie Yang wrote: >>> The commit ad53f92e(fix incorrect isolation behavior by rechecking >>> migratetype) >>> patch series describe the race between page isolation and

Re: [PATCH] mm: page_alloc: store updated page migratetype to avoid misusing stale value

2014-11-20 Thread Weijie Yang
On Thu, Nov 20, 2014 at 5:28 AM, Vlastimil Babka wrote: > On 11/17/2014 11:40 AM, Weijie Yang wrote: >> The commit ad53f92e(fix incorrect isolation behavior by rechecking >> migratetype) >> patch series describe the race between page isolation and free path, and try >> to >> fix the freepage acc

Re: [PATCH] mm: page_alloc: store updated page migratetype to avoid misusing stale value

2014-11-19 Thread Vlastimil Babka
On 11/17/2014 11:40 AM, Weijie Yang wrote: > The commit ad53f92e(fix incorrect isolation behavior by rechecking > migratetype) > patch series describe the race between page isolation and free path, and try > to > fix the freepage account issues. > > However, there is still a little issue: freed

[PATCH] mm: page_alloc: store updated page migratetype to avoid misusing stale value

2014-11-17 Thread Weijie Yang
The commit ad53f92e(fix incorrect isolation behavior by rechecking migratetype) patch series describe the race between page isolation and free path, and try to fix the freepage account issues. However, there is still a little issue: freed page could have stale migratetype in the free_list. This wo