diff options
author | Rick Edgecombe <[email protected]> | 2021-02-04 18:32:24 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-02-05 11:03:47 -0800 |
commit | 4f6ec8602341e97b364e4e0d41a1ed08148f5e98 (patch) | |
tree | bff20ebb2cd319ef36302927949e4040402e740a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 74e21484e40bb8ce0f9828bbfe1c9fc9b04249c6 (diff) |
mm/vmalloc: separate put pages and flush VM flags
When VM_MAP_PUT_PAGES was added, it was defined with the same value as
VM_FLUSH_RESET_PERMS. This doesn't seem like it will cause any big
functional problems other than some excess flushing for VM_MAP_PUT_PAGES
allocations.
Redefine VM_MAP_PUT_PAGES to have its own value. Also, rearrange things
so flags are less likely to be missed in the future.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: b944afc9d64d ("mm: add a VM_MAP_PUT_PAGES flag for vmap")
Signed-off-by: Rick Edgecombe <[email protected]>
Suggested-by: Matthew Wilcox <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Daniel Axtens <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions