aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2025-03-14 14:08:15 +0100
committerJohannes Berg <johannes.berg@intel.com>2025-03-18 11:06:20 +0100
commit887c5c12e80c8424bd471122d2e8b6b462e12874 (patch)
tree259c6a7ccefbdbc5af825a49012d6a4eb1c6bd99 /drivers/usb/cdns3/cdns3-debug.h
parentum/locking: Remove semicolon from "lock" prefix (diff)
downloadlinux-887c5c12e80c8424bd471122d2e8b6b462e12874.tar.gz
linux-887c5c12e80c8424bd471122d2e8b6b462e12874.zip
um: work around sched_yield not yielding in time-travel mode
sched_yield by a userspace may not actually cause scheduling in time-travel mode as no time has passed. In the case seen it appears to be a badly implemented userspace spinlock in ASAN. Unfortunately, with time-travel it causes an extreme slowdown or even deadlock depending on the kernel configuration (CONFIG_UML_MAX_USERSPACE_ITERATIONS). Work around it by accounting time to the process whenever it executes a sched_yield syscall. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20250314130815.226872-1-benjamin@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions