diff options
author | Fengnan Chang <changfengnan@vivo.com> | 2021-11-10 05:37:13 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-11-17 22:28:22 +0300 |
commit | 3271d7eb00f1df82d9ea26b359ed065129639f7c (patch) | |
tree | 0ff3456467454953c60b58bbc530aabd135cf8db /security/keys/request_key.c | |
parent | 8ab774587903771821b59471cc723bba6d893942 (diff) | |
download | linux-3271d7eb00f1df82d9ea26b359ed065129639f7c.tar.xz |
f2fs: compress: reduce one page array alloc and free when write compressed page
Don't alloc new page pointers array to replace old, just use old, introduce
valid_nr_cpages to indicate valid number of page pointers in array, try to
reduce one page array alloc and free when write compress page.
Signed-off-by: Fengnan Chang <changfengnan@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'security/keys/request_key.c')
0 files changed, 0 insertions, 0 deletions