]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: do not send SIGALRM to userspace in time-travel mode
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 8 Apr 2025 07:45:23 +0000 (09:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 May 2025 08:24:58 +0000 (10:24 +0200)
commit49caacf1004d1e1fc40cfab165f104d051867c6e
tree342f6bb22bf20a345c8711ad3be453877bdbf0a4
parent82c8e1280c74f80fbacb9efbba6dd7b23446e536
um: do not send SIGALRM to userspace in time-travel mode

We send a SIGALRM to userspace processes to interrupt them. Really,
doing so is only needed if they are actually executing at the time (to
ensure we return to kernelspace). Unfortunately, we do not have that
information readily available. We can however be sure that this is never
the case when we are in time-travel mode with infinite CPU.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20250408074524.300153-1-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/time.c