aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorMengEn Sun <[email protected]>2024-12-06 04:13:47 +0000
committerAndrew Morton <[email protected]>2025-01-13 04:21:00 +0000
commitf49b42d415a32faee6bc08923821f432f64a4e90 (patch)
tree6a9e611872371390fc7c06d6af8b2a45f7a462c5 /lib/fault-inject.c
parentxarray: port tests to kunit (diff)
downloadkernel-f49b42d415a32faee6bc08923821f432f64a4e90.tar.gz
kernel-f49b42d415a32faee6bc08923821f432f64a4e90.zip
ucounts: move kfree() out of critical zone protected by ucounts_lock
Although kfree is a non-sleep function, it is possible to enter a long chain of calls probabilistically, so it looks better to move kfree from alloc_ucounts() out of the critical zone of ucounts_lock. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: MengEn Sun <[email protected]> Reviewed-by: YueHong Wu <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Andrei Vagin <[email protected]> Cc: Joel Granados <[email protected]> Cc: Thomas Weißschuh <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions