diff options
author | 2020-04-01 21:09:50 -0700 | |
---|---|---|
committer | 2020-04-02 09:35:31 -0700 | |
commit | 76089d0082e6585e2ec53a51aa9d3c21579fc8e9 (patch) | |
tree | e6cdc22221850a37a82308e7626f31dfcd802120 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm, pagealloc: micro-optimisation: save two branches on hot page allocation path (diff) | |
download | linux-dev-76089d0082e6585e2ec53a51aa9d3c21579fc8e9.tar.xz linux-dev-76089d0082e6585e2ec53a51aa9d3c21579fc8e9.zip |
mm/page_alloc.c: use free_area_empty() instead of open-coding
Use free_area_empty() API to replace list_empty() for better code
readability.
Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: http://lkml.kernel.org/r/1583674354-7713-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