diff options
author | Vitaly Wool <[email protected]> | 2018-04-05 16:23:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-04-05 21:36:25 -0700 |
commit | 5c9bab592f53328b3e00d7293378b714abf47a2a (patch) | |
tree | 8785d51da7ca697c8a781e56d309f341e3bb13a3 /include/linux/fpga/fpga-mgr.h | |
parent | 605ca5ede7643a01f4c4a15913f9714ac297f8a6 (diff) |
z3fold: limit use of stale list for allocation
Currently if z3fold couldn't find an unbuddied page it would first try
to pull a page off the stale list. The problem with this approach is
that we can't 100% guarantee that the page is not processed by the
workqueue thread at the same time unless we run cancel_work_sync() on
it, which we can't do if we're in an atomic context. So let's just
limit stale list usage to non-atomic contexts only.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Vitaly Vul <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions