summaryrefslogtreecommitdiff
path: root/mm/rodata_test.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2021-07-01 04:50:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-01 06:47:28 +0300
commite3c0db4fec46b46a0c22b46bb55392b36ec940fc (patch)
treeb060362dee895c6cd389a7b50d7bceba738dc211 /mm/rodata_test.c
parentc6d9eee2a68619b5ba1c25e406a9403f33b56902 (diff)
downloadlinux-e3c0db4fec46b46a0c22b46bb55392b36ec940fc.tar.xz
mm/z3fold: define macro NCHUNKS as TOTAL_CHUNKS - ZHDR_CHUNKS
Patch series "Cleanup and fixup for z3fold". This series contains cleanups to remove unused function, redefine macro to improve readability and so on. Also this fixes several bugs in z3fold, such as memory leak in z3fold_destroy_pool(). More details can be found in the respective changelogs. This patch (of 6): To improve code readability, we could define macro NCHUNKS as TOTAL_CHUNKS - ZHDR_CHUNKS. No functional change intended. Link: https://lkml.kernel.org/r/20210619093151.1492174-1-linmiaohe@huawei.com Link: https://lkml.kernel.org/r/20210619093151.1492174-2-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Vitaly Wool <vitaly.wool@konsulko.com> Cc: Hillf Danton <hdanton@sina.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rodata_test.c')
0 files changed, 0 insertions, 0 deletions