aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorHui Zhu <[email protected]>2019-09-23 15:39:37 -0700
committerLinus Torvalds <[email protected]>2019-09-24 15:54:12 -0700
commitc165f25d23ecb2f9f121ced20435415b931219e2 (patch)
tree150a2e87f86087e88c69ad589ed6fe08af64960e /lib/test_overflow.c
parent28eb3c80871951cae59b9c1b7385262e5d045ac3 (diff)
zpool: add malloc_support_movable to zpool_driver
As a zpool_driver, zsmalloc can allocate movable memory because it support migate pages. But zbud and z3fold cannot allocate movable memory. Add malloc_support_movable to zpool_driver. If a zpool_driver support allocate movable memory, set it to true. And add zpool_malloc_support_movable check malloc_support_movable to make sure if a zpool support allocate movable memory. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Hui Zhu <[email protected]> Reviewed-by: Shakeel Butt <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Vitaly Wool <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions