]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ab302e2e9b47fcb58494644bbd546c41c4290c7
tree5e5bc0e4c71903bbdc6477f4868d35f970743e21
parent0920b5aa0574cd054b4e5792c2fc9a362047dff3
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