summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWenchao Hao <haowenchao22@gmail.com>2020-08-12 04:31:16 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 20:57:56 +0300
commit4605f057aace9291e80bf9982cc7c8babc917f56 (patch)
tree3658fa7f2eaf07a8a48f4315ccc4ac242bf9a579 /tools/perf/scripts/python/exported-sql-viewer.py
parentf6e92f404834698df0a7c4e1d8e07b3771cd6e46 (diff)
downloadlinux-4605f057aace9291e80bf9982cc7c8babc917f56.tar.xz
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 <haowenchao22@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200801090825.5597-1-haowenchao22@gmail.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions