mirror of https://gitee.com/openkylin/linux.git
3c8bb7aab9
Both zram and zcache use xvmalloc allocator. If xvmalloc is compiled separately for both of them, we will get linker error if they are both selected as "built-in". We can also get linker error regarding missing xvmalloc symbols if zram is not built. So, we now compile xvmalloc separately and export its symbols which are then used by both of zram and zcache. Signed-off-by: Nitin Gupta <ngupta@vflare.org> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xvmalloc.c | ||
xvmalloc.h | ||
xvmalloc_int.h | ||
zram.txt | ||
zram_drv.c | ||
zram_drv.h | ||
zram_sysfs.c |