Resurrecting this thread with a concrete use case.
dosemu2, which uses KVM to accelerate DOS emulation (stating the obvious), ran
into a problem where the hardcoded (prior to this patch) behavior will effectively
hang userspace if the 10ms sleep is interrupted, e.g. by a periodic SIGALRM[*].
Alternatively, we could try to figure out a way to ensure forward progress withoutIt seems, the "broken" code was added by
letting userpace run an end-around on the enforced misery, but backporting this
patch to stable kernels seems easier.
Stas, do you happen to know what the oldest stable kernel your users use, i.e.
how far back this backport would need to go?