diff options
| author | Miaohe Lin <[email protected]> | 2021-02-25 17:18:27 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-26 09:41:01 -0800 |
| commit | f0231305acd53375c6cf736971bf5711105dd6bb (patch) | |
| tree | 8185750c4f5977e6ca130ec6ab29c4f1d4d7bc58 /tools/perf/scripts/python | |
| parent | e818e820c6a0e819d239264fc863531bbcd72c30 (diff) | |
mm/zsmalloc.c: convert to use kmem_cache_zalloc in cache_alloc_zspage()
We always memset the zspage allocated via cache_alloc_zspage. So it's
more convenient to use kmem_cache_zalloc in cache_alloc_zspage than caller
do it manually.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions