summaryrefslogtreecommitdiffstats
path: root/drivers/staging/erofs/data.c
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2018-07-26 20:21:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-27 17:24:08 +0200
commitb29e64d8798018c3e82a426ec34b39b825ac68dc (patch)
tree3dfecc4d2b2bb5a72bbe31659b4ea65f2385ddab /drivers/staging/erofs/data.c
parent02827e1796b33f1794966f5c3101f8da2dfa9c1d (diff)
downloadtalos-op-linux-b29e64d8798018c3e82a426ec34b39b825ac68dc.tar.gz
talos-op-linux-b29e64d8798018c3e82a426ec34b39b825ac68dc.zip
staging: erofs: add erofs_allocpage
This patch introduces an temporary _on-stack_ page pool to reuse the freed page directly as much as it can for better performance and release all pages at a time, it also slightly reduces the possibility of the potential memory allocation failure. Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs/data.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud