Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577313

Re: [PATCH] mm: fix KPF_SWAPCACHE

From Hugh Dickins <hughd@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: fix KPF_SWAPCACHE
Date 2017-02-09 06:30 +0100
Message-ID <t8PsR-1QJ-1@gated-at.bofh.it> (permalink)
References <t8jsZ-6U2-15@gated-at.bofh.it> <t8OwN-1eB-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 9 Feb 2017, Nicholas Piggin wrote:
> On Tue, 7 Feb 2017 11:11:16 -0800 (PST)
> Hugh Dickins <hughd@google.com> 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@google.com>
> 
> 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@gmail.com>

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mm: fix KPF_SWAPCACHE Hugh Dickins <hughd@google.com> - 2017-02-07 20:20 +0100
  Re: [PATCH] mm: fix KPF_SWAPCACHE Nicholas Piggin <npiggin@gmail.com> - 2017-02-09 05:30 +0100
    Re: [PATCH] mm: fix KPF_SWAPCACHE Hugh Dickins <hughd@google.com> - 2017-02-09 06:30 +0100

csiph-web