[Devel] [PATCH hci-8.1 v2 0/3] sched: fix hard lockups on task_lock taken under scheduler and diagnostic locks
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Nov 16 19:31:31 MSK 2026
On Mon, 16 Nov 2026 14:44:42 +0100, Denis V. Lunev wrote:
> sched: fix hard lockups on task_lock taken under scheduler and diagnostic locks
>
> With kernel.sched_schedstats on, update_sched_lat() takes task_lock
> under the runqueue lock, and an hci-8.1 perf-storage node died of a hard
> lockup from it. sched_show_task() takes the same lock under rnp->lock in
> the RCU stall reports, from sysrq and the workqueue watchdog, and can
> print a ve name already freed at cgroup offline.
>
> [...]
Applied to branch-rh10-6.12.0-211.75.1.24.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.24.2.vz10, thanks!
[1/3] sched/stats: fix a hard lockup on task_lock in update_sched_lat()
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/d30fdeac98c0
[2/3] ve: free ve_name together with the ve, not at cgroup offline
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/628eb7c4c1ba
[3/3] sched: drop task_lock from sched_show_task()
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/faac659ea3a6
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list