mm: Use owner_priv bit for PageSwapCache, valid when PageSwapBacked
authorNicholas Piggin <npiggin@gmail.com>
Sun, 25 Dec 2016 03:00:29 +0000 (13:00 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 25 Dec 2016 19:54:48 +0000 (11:54 -0800)
commit6326fec1122cde256bd2a8c63f2606e08e44ce1d
tree5e5bc0e4c71903bbdc6477f4868d35f970743e21
parent7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba
mm: Use owner_priv bit for PageSwapCache, valid when PageSwapBacked

A page is not added to the swap cache without being swap backed,
so PageSwapBacked mappings can use PG_owner_priv_1 for PageSwapCache.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Bob Peterson <rpeterso@redhat.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Andrew Lutomirski <luto@kernel.org>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page-flags.h
include/trace/events/mmflags.h
mm/memory-failure.c
mm/migrate.c