diff options
author | 2020-04-01 21:09:56 -0700 | |
---|---|---|
committer | 2020-04-02 09:35:31 -0700 | |
commit | fe925c0cb05b5616353e8b68eb914c9840cad2f9 (patch) | |
tree | 4308ba84a8fb912a6b7222c461563f8c8f27ae35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/page_alloc.c: micro-optimisation Remove unnecessary branch (diff) | |
download | linux-dev-fe925c0cb05b5616353e8b68eb914c9840cad2f9.tar.xz linux-dev-fe925c0cb05b5616353e8b68eb914c9840cad2f9.zip |
mm/page_alloc: simplify page_is_buddy() for better code readability
Simplify page_is_buddy() to reduce the redundant code for better code
readability.
Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Link: http://lkml.kernel.org/r/1583853751-5525-1-git-send-email-qiwuchen55@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions