aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexey Klimov <[email protected]>2015-11-05 18:46:00 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commit86d2adccfbe7d5a1f050fa08db9638c9168736d9 (patch)
tree96dcb3362de8603a9e8be77498eb3edc57d46d1d /tools/perf/scripts/python/bin
parent9fbed25407ccc87a7bb47ea3f411e1ca34a95f8b (diff)
mm/mlock.c: reorganize mlockall() return values and remove goto-out label
In mlockall syscall wrapper after out-label for goto code just doing return. Remove goto out statements and return error values directly. Also instead of rewriting ret variable before every if-check move returns to 'error'-like path under if-check. Objdump asm listing showed me reducing by few asm lines. Object file size descreased from 220592 bytes to 220528 bytes for me (for aarch64). Signed-off-by: Alexey Klimov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions