Skip to content
Commit a1259dd8 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Catalin Marinas
Browse files

arm64/sve: Delay freeing memory in fpsimd_flush_thread()



fpsimd_flush_thread() invokes kfree() via sve_free()+sme_free() within a
preempt disabled section which is not working on -RT.

Delay freeing of memory until preemption is enabled again.

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220505163207.85751-2-bigeasy@linutronix.de
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent d158a060
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment