diff options
author | Vitaly Wool <[email protected]> | 2020-12-14 19:12:33 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-15 12:13:45 -0800 |
commit | dcf5aedb24f899d537e21c18ea552c780598d352 (patch) | |
tree | 52069bbec092a5d6faf520acb3480644b1f17ce0 /lib/mpi/mpi-cmp.c | |
parent | fc5488651c7d840c9cad9b0f273f2f31bd03413a (diff) |
z3fold: stricter locking and more careful reclaim
Use temporary slots in reclaim function to avoid possible race when
freeing those.
While at it, make sure we check CLAIMED flag under page lock in the
reclaim function to make sure we are not racing with z3fold_alloc().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vitaly Wool <[email protected]>
Cc: <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions