[GIT PULL] scftorture changes for v6.13

From: Paul E. McKenney
Date: Sun Nov 17 2024 - 13:45:37 EST


Hello, Linus,

Once the v6.13 merge window opens, please pull these scftorture changes
from:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/scftorture.2024.11.16a
# HEAD: f946cae86d088d02a2f9c0ae0bf8a80359d3f454: scftorture: Handle NULL argument passed to scf_add_to_free_list(). (2024-11-14 16:09:51 -0800)

----------------------------------------------------------------
scftorture changes for v6.13

o Avoid divide operation.

o Fix cleanup code waiting for IPI handlers.

o Move memory allocations out of preempt-disable region of code
for PREEMPT_RT compatibility.

o Use a lockless list to avoid freeing memory while interrupts
are disabled, again for PREEMPT_RT compatibility.

o Make lockless list scf_add_to_free_list() correctly handle
freeing a NULL pointer.

----------------------------------------------------------------
Sebastian Andrzej Siewior (5):
scftorture: Avoid additional div operation.
scftorture: Wait until scf_cleanup_handler() completes.
scftorture: Move memory allocation outside of preempt_disable region.
scftorture: Use a lock-less list to free memory.
scftorture: Handle NULL argument passed to scf_add_to_free_list().

kernel/scftorture.c | 54 +++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 10 deletions(-)