diff options
author | Gao Xiang | 2018-07-26 14:21:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-07-27 17:24:08 +0200 |
commit | b29e64d8798018c3e82a426ec34b39b825ac68dc (patch) | |
tree | 3dfecc4d2b2bb5a72bbe31659b4ea65f2385ddab /drivers/staging/erofs/Makefile | |
parent | staging: erofs: add erofs_map_blocks_iter (diff) | |
download | kernel-qcow2-linux-b29e64d8798018c3e82a426ec34b39b825ac68dc.tar.gz kernel-qcow2-linux-b29e64d8798018c3e82a426ec34b39b825ac68dc.tar.xz kernel-qcow2-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/Makefile')
-rw-r--r-- | drivers/staging/erofs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/erofs/Makefile b/drivers/staging/erofs/Makefile index 8558c761a74b..490fa6cced08 100644 --- a/drivers/staging/erofs/Makefile +++ b/drivers/staging/erofs/Makefile @@ -7,7 +7,7 @@ ccflags-y += -Wall -DEROFS_VERSION=\"$(EROFS_VERSION)\" obj-$(CONFIG_EROFS_FS) += erofs.o # staging requirement: to be self-contained in its own directory ccflags-y += -I$(src)/include -erofs-objs := super.o inode.o data.o namei.o dir.o +erofs-objs := super.o inode.o data.o namei.o dir.o utils.o erofs-$(CONFIG_EROFS_FS_XATTR) += xattr.o erofs-$(CONFIG_EROFS_FS_ZIP) += unzip_vle.o |