aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2020-10-17 16:14:03 -0700
committerLinus Torvalds <[email protected]>2020-10-18 09:27:09 -0700
commit4dc200cee1950ac3f9b99f0c8d4a750b62958f81 (patch)
tree0033042fe9ff030817fdc005d6788e2ba25e8a3b /tools/perf/scripts/python/Perf-Trace-Util/lib
parent203e6e5ca4eac64c8909debfd64aae3fd62b2a16 (diff)
mm/migrate: avoid possible unnecessary process right check in kernel_move_pages()
There is no need to check if this process has the right to modify the specified process when they are same. And we could also skip the security hook call if a process is modifying its own pages. Add helper function to handle these. Suggested-by: Matthew Wilcox <[email protected]> Signed-off-by: Hongxiang Lou <[email protected]> Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Christopher Lameter <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions