Re: [PATCH] mm: fix KPF_SWAPCACHE

From: Hugh Dickins
Date: Thu Feb 09 2017 - 00:26:23 EST


On Thu, 9 Feb 2017, Nicholas Piggin wrote:
> On Tue, 7 Feb 2017 11:11:16 -0800 (PST)
> Hugh Dickins <hughd@xxxxxxxxxx> wrote:
>
> > 4.10-rc1 commit 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache,
> > valid when PageSwapBacked") aliased PG_swapcache to PG_owner_priv_1:
> > so /proc/kpageflags' KPF_SWAPCACHE should now be synthesized, instead
> > of being shown on unrelated pages which have PG_owner_priv_1 set.
> >
> > Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
>
> Thanks Hugh, this seems fine to me. We want this for 4.10, no?
>
> Fixes: 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache, valid when PageSwapBacked")
> Reviewed-by: Nicholas Piggin <npiggin@xxxxxxxxx>

Thanks Nick, yes, but don't worry: Linus jumped to it, and it's already
in 4.10 as b6789123bccb ("mm: fix KPF_SWAPCACHE in /proc/kpageflags").

Hugh