Re: [PATCH 03/10] mm: use __SetPageSwapBacked and dont ClearPageSwapBacked

2016-04-06 Thread Mel Gorman
On Tue, Apr 05, 2016 at 01:44:16PM -0700, Hugh Dickins wrote: > v3.16 commit 07a427884348 ("mm: shmem: avoid atomic operation during > shmem_getpage_gfp") rightly replaced one instance of SetPageSwapBacked > by __SetPageSwapBacked, pointing out that the newly allocated page is > not yet visible to

[PATCH 03/10] mm: use __SetPageSwapBacked and dont ClearPageSwapBacked

2016-04-05 Thread Hugh Dickins
v3.16 commit 07a427884348 ("mm: shmem: avoid atomic operation during shmem_getpage_gfp") rightly replaced one instance of SetPageSwapBacked by __SetPageSwapBacked, pointing out that the newly allocated page is not yet visible to other users (except speculative get_page_unless_zero- ers, who may not