aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2020-12-11 08:01:14 +0000
committerRichard Weinberger <[email protected]>2020-12-13 21:41:56 +0000
commit452f94cecff692a76eaaa9330fca03fe0f204f6f (patch)
tree0820d5797c4e77eea8eee7ba5c6cdfcdde250ba3 /net/lapb/lapb_iface.c
parentum: chan_xterm: Fix fd leak (diff)
downloadkernel-452f94cecff692a76eaaa9330fca03fe0f204f6f.tar.gz
kernel-452f94cecff692a76eaaa9330fca03fe0f204f6f.zip
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 <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions