mm: add 'foreign' alias for the 'pinned' page flag
authorJennifer Herbert <jennifer.herbert@citrix.com>
Mon, 5 Jan 2015 13:24:09 +0000 (13:24 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Jan 2015 14:03:09 +0000 (14:03 +0000)
commitd8ac3dd41aea245f65465449efc35dd3ac71e91d
tree4c03e981c385612eaa2dfc47264a4d67ac62c51c
parent667a0a06c99d5291433b869ed35dabdd95ba1453
mm: add 'foreign' alias for the 'pinned' page flag

The foreign page flag will be used by Xen guests to mark pages that
have grant mappings of frames from other (foreign) guests.

The foreign flag is an alias for the existing (Xen-specific) pinned
flag.  This is safe because pinned is only used on pages used for page
tables and these cannot also be foreign.

Signed-off-by: Jennifer Herbert <jennifer.herbert@citrix.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
include/linux/page-flags.h