diff options
author | Kirill A. Shutemov <[email protected]> | 2017-11-15 17:36:07 +0300 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-11-16 11:43:12 +0100 |
commit | 97f404ad3e53bf9ac598745066ba2f57c1da3039 (patch) | |
tree | ad5902efa2b4a894b256b8e3d662d937c9f23f2e /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 1e0f25dbf2464df8445dd40881f4d9e732434947 (diff) |
x86/selftests: Add test for mapping placement for 5-level paging
5-level paging provides a 56-bit virtual address space for user space
application. But the kernel defaults to mappings below the 47-bit address
space boundary, which is the upper bound for 4-level paging, unless an
application explicitely request it by using a mmap(2) address hint above
the 47-bit boundary. The kernel prevents mappings which spawn across the
47-bit boundary unless mmap(2) was invoked with MAP_FIXED.
Add a self-test that covers the corner cases of the interface and validates
the correctness of the implementation.
[ tglx: Massaged changelog once more ]
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions