summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorDan Williams2016-01-16 01:56:37 +0100
committerLinus Torvalds2016-01-16 02:56:32 +0100
commit69660fd797c3e52f7f20478a27687f293d1a41be (patch)
tree10dd8c4c32b756c4bf694f463fddaa226f0c466d /mm/memory.c
parentfrv: fix compiler warning from definition of __pmd() (diff)
downloadkernel-qcow2-linux-69660fd797c3e52f7f20478a27687f293d1a41be.tar.gz
kernel-qcow2-linux-69660fd797c3e52f7f20478a27687f293d1a41be.tar.xz
kernel-qcow2-linux-69660fd797c3e52f7f20478a27687f293d1a41be.zip
x86, mm: introduce _PAGE_DEVMAP
_PAGE_DEVMAP is a hardware-unused pte bit that will later be used in the get_user_pages() path to identify pfns backed by the dynamic allocation established by devm_memremap_pages. Upon seeing that bit the gup path will lookup and pin the allocation while the pages are in use. Since the _PAGE_DEVMAP bit is > 32 it must be cast to u64 instead of a pteval_t to allow pmd_flags() usage in the realmode boot code to build. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions