summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorChangcheng Deng <deng.changcheng@zte.com.cn>2021-11-05 21:39:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-06 21:30:37 +0100
commit34b46efd6ec6a6f2d6a57be4216b820c879a0030 (patch)
tree008f0c70c28dd13f111f9e194d32e09392ceb502 /mm/page_alloc.c
parentmm/vmalloc: introduce alloc_pages_bulk_array_mempolicy to accelerate memory a... (diff)
downloadlinux-34b46efd6ec6a6f2d6a57be4216b820c879a0030.tar.xz
linux-34b46efd6ec6a6f2d6a57be4216b820c879a0030.zip
lib/test_vmalloc.c: use swap() to make code cleaner
Use swap() in order to make code cleaner. Issue found by coccinelle. Link: https://lkml.kernel.org/r/20211028111443.15744-1-deng.changcheng@zte.com.cn Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn> Reported-by: Zeal Robot <zealci@zte.com.cn> Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions