> From: Denis V. Lunev <[email protected]> > > Commit ead7be4fd3ca ("ve: Switch from ->task_ve to *task_ve() helpers") > made update_sched_lat() look the ve up with get_task_ve(), which takes > task_lock. update_sched_lat() runs from __update_stats_wait_end() under > rq->__lock with interrupts off whenever kernel.sched_schedstats is on, > while task_lock is taken elsewhere with interrupts on. Any lock taken > in an interrupt and held across a wakeup then closes a cycle. wbt does > it on an I/O completion: > > CPU A: /proc reader CPU B: NVMe irq CPU C: scheduler > ------------------- --------------- ---------------- > getdents64(/proc/X/fd) > task_lock(X) > nvme_irq() > [ ... ] > > https://virtuozzo.atlassian.net/browse/VSTOR-155276 > > Feature: ve: ve generic structures > 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=1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
