freebsd-skq/sys
Jean-Sébastien Pédron 4e5a8fdbff vt(4): Resume vt_timer() in vtterm_post_input() only
There is no need to try to resume it after each smaller operations
(putchar, cursor_position, copy, fill).

The resume function already checks if the timer is armed before doing
anything, but it uses an atomic cmpset which is expensive. And resuming
the timer at the end of input processing is enough.

While here, we also skip timer resume if the input is for another
windows than the currently displayed one. I.e. if `ttyv0` is currently
displayed, any changes to `ttyv1` shouldn't resume the timer (which
would refresh `ttyv0`).

By doing the same benchmark as r333669, I get:
  * vt(4), before r333669:  1500 ms
  * vt(4), with this patch:  760 ms
  * syscons(4):              700 ms
2018-05-16 10:08:50 +00:00
..
amd64 vmmdev: return EFAULT when trying to read beyond VM system memory max address 2018-05-15 17:20:58 +00:00
arm followup to r332730/r332752: set kdb_why to "trap" for fatal traps 2018-05-16 06:52:08 +00:00
arm64 followup to r332730/r332752: set kdb_why to "trap" for fatal traps 2018-05-16 06:52:08 +00:00
bsm
cam Hold the reference count until the CCB is released 2018-05-15 22:22:10 +00:00
cddl Fix 'zpool create -t <tempname>' 2018-05-15 13:27:29 +00:00
compat Allow freebsd32 __sysctl(2) to return ENOMEM. 2018-05-15 16:24:58 +00:00
conf Add new USB HID driver for Super Nintendo gamepads. 2018-05-15 15:36:34 +00:00
contrib Add support for setting type of service, TOS, for outgoing RDMA connections 2018-05-15 07:46:24 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb Fix PPC symbol resolution 2018-05-10 03:59:48 +00:00
dev vt(4): Resume vt_timer() in vtterm_post_input() only 2018-05-16 10:08:50 +00:00
dts arm: overlays: Update to new path-based sugar format 2018-05-04 14:38:48 +00:00
fs End grace for the NFSv4 server if all mounts do ReclaimComplete. 2018-05-15 20:28:50 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Introduce the 'n' flag for the geli attach command. 2018-05-09 20:53:38 +00:00
gnu gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
i386 Fix PMC_IN_TRAP_HANDLER() for i386 after the 4/4 split. 2018-05-13 20:10:02 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern teken, vt(4): New callbacks to lock the terminal once 2018-05-16 09:01:02 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern Remove "All rights reserved" from my files. 2018-05-10 06:41:08 +00:00
mips followup to r332730/r332752: set kdb_why to "trap" for fatal traps 2018-05-16 06:52:08 +00:00
modules Add new USB HID driver for Super Nintendo gamepads. 2018-05-15 15:36:34 +00:00
net Replace rmlock with epoch in lagg 2018-05-14 20:06:49 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Unwrap a line that no longer requires wrapping. 2018-05-15 20:14:38 +00:00
netinet6 Unwrap some not-so-long lines now that extra tabs been removed. 2018-05-15 17:59:46 +00:00
netipsec Merge r1.22-1.23 from NetBSD: 2018-04-26 12:23:31 +00:00
netpfil Bring in some last changes in NAT64 implementation: 2018-05-09 11:59:24 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs Remove support for FDDI networks. 2018-04-11 17:28:24 +00:00
nfsclient
nfsserver
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +00:00
riscv Remove extra copy of bcopy.c now that we're using the libkern version 2018-05-12 01:43:32 +00:00
rpc
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Report TRAP_BRKPT for breakpoint traps on sparc64. 2018-05-09 15:25:26 +00:00
sys teken, vt(4): New callbacks to lock the terminal once 2018-05-16 09:01:02 +00:00
teken teken, vt(4): New callbacks to lock the terminal once 2018-05-16 09:01:02 +00:00
tests Test priority handling in epoch test. 2018-05-11 04:47:05 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Detect and optimize reads from the hole on UFS. 2018-05-13 09:47:28 +00:00
vm Get rid of vm_pageout_page_queued(). 2018-05-13 13:00:59 +00:00
x86 calibrate lapic timer in native_lapic_setup 2018-05-15 16:56:30 +00:00
xdr
xen xen: fix gntdev 2018-05-02 10:19:17 +00:00
Makefile