> From: Denis V. Lunev <[email protected]>
> 
> Commit 35518dbbfd76 ("ve: Switch from task_ve_name() to ve_name()")
> made sched_show_task() look the ve up with get_task_ve(), which takes
> task_lock of the task being shown. sched_show_task() is a diagnostic
> called with interrupts off under raw locks or from an interrupt, while
> task_lock is taken with interrupts on, by a /proc/PID/fd read for one:
> 
>   - the RCU stall reports show the tasks blocking the grace period
>     under rnp->lock, from the scheduler tick;
>   - dump_cpu_task() shows the current task of a stuck CPU from the
>     RCU stall and CSD lock reports; when that task is stuck holding
>     its own task_lock, the report spins forever instead of printing;
>   - the workqueue watchdog shows a hogging worker under pool->lock;
>   - sysrq-t runs show_state() from the keyboard or serial interrupt.
> [ ... ]
> https://virtuozzo.atlassian.net/browse/VSTOR-155341
> 
> Feature: ve: ve generic structures
> Suggested-by: Vasileios Almpanis <[email protected]>
> Signed-off-by: Denis V. Lunev <[email protected]>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=3


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to