diff options
author | Oleg Nesterov <[email protected]> | 2015-09-09 15:39:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-09-10 13:29:01 -0700 |
commit | 1fcfd8db7f82fa1f533a6f0e4155614ff4144d56 (patch) | |
tree | 958b38ccd3bdd3bc97de154bf7bf322ff09637db /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 7cbea8dc0127a95226c7722a738ac6534950ef67 (diff) |
mm, mpx: add "vm_flags_t vm_flags" arg to do_mmap_pgoff()
Add the additional "vm_flags_t vm_flags" argument to do_mmap_pgoff(),
rename it to do_mmap(), and re-introduce do_mmap_pgoff() as a simple
wrapper on top of do_mmap(). Perhaps we should update the callers of
do_mmap_pgoff() and kill it later.
This way mpx_mmap() can simply call do_mmap(vm_flags => VM_MPX) and do not
play with vm internals.
After this change mmap_region() has a single user outside of mmap.c,
arch/tile/mm/elf.c:arch_setup_additional_pages(). It would be nice to
change arch/tile/ and unexport mmap_region().
[[email protected]: fix build]
[[email protected]: coding-style fixes]
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Dave Hansen <[email protected]>
Tested-by: Dave Hansen <[email protected]>
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions