[PATCH 01/18] mm: numa: Serialise parallel get_user_page against THP migration

2013-12-10 Thread Mel Gorman
Base pages are unmapped and flushed from cache and TLB during normal page migration and replaced with a migration entry that causes any parallel or gup to block until migration completes. THP does not unmap pages due to a lack of support for migration entries at a PMD level. This allows races with

Re: [PATCH 01/18] mm: numa: Serialise parallel get_user_page against THP migration

2013-12-09 Thread Rik van Riel
On 12/09/2013 02:08 AM, Mel Gorman wrote: > Base pages are unmapped and flushed from cache and TLB during normal page > migration and replaced with a migration entry that causes any parallel or > gup to block until migration completes. THP does not unmap pages due to > a lack of support for migrati

[PATCH 01/18] mm: numa: Serialise parallel get_user_page against THP migration

2013-12-08 Thread Mel Gorman
Base pages are unmapped and flushed from cache and TLB during normal page migration and replaced with a migration entry that causes any parallel or gup to block until migration completes. THP does not unmap pages due to a lack of support for migration entries at a PMD level. This allows races with