diff options
author | Mateusz Nosek <mateusznosek0@gmail.com> | 2020-10-13 16:55:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-13 18:38:33 -0700 |
commit | cfb4a541918498016ea9fcd7c44fd87b99fb5701 (patch) | |
tree | cd19987c1737cdc65ac43e258dfed386fad8a6b2 /tools/perf/scripts/python/stackcollapse.py | |
parent | b630749f018c39f68e6ba0db95ac1cbd66cf0cbb (diff) |
mm/page_alloc.c: micro-optimization remove unnecessary branch
Previously flags check was separated into two separated checks with two
separated branches. In case of presence of any of two mentioned flags,
the same effect on flow occurs. Therefore checks can be merged and one
branch can be avoided.
Signed-off-by: Mateusz Nosek <mateusznosek0@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200911092310.31136-1-mateusznosek0@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions