aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorVitaly Wool <[email protected]>2020-12-14 19:12:30 -0800
committerLinus Torvalds <[email protected]>2020-12-15 12:13:45 -0800
commitfc5488651c7d840c9cad9b0f273f2f31bd03413a (patch)
tree891c5ad3db41ed640b077abd2167e2d274c2aa0c /lib/mpi/mpi-cmp.c
parent2484be0f88dc6c9670362d51f6a04f2da0626b50 (diff)
z3fold: simplify freeing slots
Patch series "z3fold: stability / rt fixes". Address z3fold stability issues under stress load, primarily in the reclaim and free aspects. Besides, it fixes the locking problems that were only seen in real-time kernel configuration. This patch (of 3): There used to be two places in the code where slots could be freed, namely when freeing the last allocated handle from the slots and when releasing the z3fold header these slots aree linked to. The logic to decide on whether to free certain slots was complicated and error prone in both functions and it led to failures in RT case. To fix that, make free_handle() the single point of freeing slots. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Vitaly Wool <[email protected]> Tested-by: Mike Galbraith <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: <[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