diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-09-24 15:42:24 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-28 08:50:51 +0200 |
| commit | 0e70b1de88ef1973cf752ae27930683eb2acd338 (patch) | |
| tree | f6f2655dc2ee8bb259480c15d1295f6cfbbbf1ea /tools/lib/python | |
| parent | fa6a0e7a8bdb56fde535e602849c1a42f290814f (diff) | |
| download | linux-next-0e70b1de88ef1973cf752ae27930683eb2acd338.tar.gz linux-next-0e70b1de88ef1973cf752ae27930683eb2acd338.zip | |
um: time-travel: fix sched_yield() behaviour
Just incrementing tt_extra_sched_jiffies can make this
drift enough to hit the softlockup detector, e.g. with
ping using sched_yield() in a loop to measure short
intervals. Make the simulation actually pass time, this
requires going to the external scheduler but actually
makes this sort of thing behave much better and avoids
the soft lockup.
Fixes: 887c5c12e80c ("um: work around sched_yield not yielding in time-travel mode")
Link: https://patch.msgid.link/20260924134223.1672004-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
