summaryrefslogtreecommitdiff
path: root/arch/powerpc/kexec
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-12-11 09:01:14 +0100
committerRichard Weinberger <richard@nod.at>2020-12-13 22:41:56 +0100
commit452f94cecff692a76eaaa9330fca03fe0f204f6f (patch)
tree0820d5797c4e77eea8eee7ba5c6cdfcdde250ba3 /arch/powerpc/kexec
parent9431f7c199ab0d02da1482d62255e0b4621cb1b5 (diff)
um: time-travel: Actually apply "free-until" optimisation
Due a bug - we never checked the time_travel_ext_free_until value - we were always requesting time for every single scheduling. This adds up since we make reading time cost 256ns, and it's a fairly common call. Fix this. While at it, also make reading time only cost something when we're not currently waiting for our scheduling turn - otherwise things get mixed up in a very confusing way. We should never get here, since we're not actually running, but it's possible if you stick printk() or such into the virtio code that must handle the external interrupts. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/powerpc/kexec')
0 files changed, 0 insertions, 0 deletions