diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2019-12-01 02:57:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-01 21:59:09 +0100 |
commit | 2184f9928ab52f26c2ae5e9ba37faf29c78f50b8 (patch) | |
tree | be4a75d56f77031775701cba8e1bd73c3195616e /mm/cma_debug.c | |
parent | mm/thp: flush file for !is_shmem PageDirty() case in collapse_file() (diff) | |
download | linux-2184f9928ab52f26c2ae5e9ba37faf29c78f50b8.tar.xz linux-2184f9928ab52f26c2ae5e9ba37faf29c78f50b8.zip |
mm/cma.c: switch to bitmap_zalloc() for cma bitmap allocation
kzalloc() is used for cma bitmap allocation in cma_activate_area(),
switch to bitmap_zalloc() for clarity.
Link: http://lkml.kernel.org/r/895d4627-f115-c77a-d454-c0a196116426@huawei.com
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Yue Hu <huyue2@yulong.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ryohei Suzuki <ryh.szk.cmnty@gmail.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Doug Berger <opendmb@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions