Re: [PATCH v2] pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion

From: Kees Cook
Date: Wed Dec 14 2022 - 22:46:24 EST


On Wed, 14 Dec 2022 23:18:34 +0000, John Stultz wrote:
> Wei Wang reported seeing priority inversion caused latencies
> caused by contention on pmsg_lock, and suggested it be switched
> to a rt_mutex.
>
> I was initially hesitant this would help, as the tasks in that
> trace all seemed to be SCHED_NORMAL, so the benefit would be
> limited to only nice boosting.
>
> [...]

Applied to for-next/pstore, thanks!

[1/1] pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
https://git.kernel.org/kees/c/76d62f24db07

--
Kees Cook