aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorWenchao Hao <[email protected]>2020-08-11 18:31:16 -0700
committerLinus Torvalds <[email protected]>2020-08-12 10:57:56 -0700
commit4605f057aace9291e80bf9982cc7c8babc917f56 (patch)
tree3658fa7f2eaf07a8a48f4315ccc4ac242bf9a579 /tools/perf/scripts/python/bin/stackcollapse-record
parentf6e92f404834698df0a7c4e1d8e07b3771cd6e46 (diff)
mm/mempolicy.c: check parameters first in kernel_get_mempolicy
Previous implementatoin calls untagged_addr() before error check, while if the error check failed and return EINVAL, the untagged_addr() call is just useless work. Signed-off-by: Wenchao Hao <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions