Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: fix KPF_SWAPCACHE in /proc/kpageflags
Commit 6326fec ("mm: Use owner_priv bit for PageSwapCache, valid when PageSwapBacked") aliased PG_swapcache to PG_owner_priv_1 (and depending on PageSwapBacked being true). As a result, the KPF_SWAPCACHE bit in '/proc/kpageflags' should now be synthesized, instead of being shown on unrelated pages which just happen to have PG_owner_priv_1 set. Signed-off-by: Hugh Dickins <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Wu Fengguang <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information