freebsd-dev/sys
Colin Percival 0b4d5eb8fd Replace a pair of 8-bit writes to VGA memory with a single 16-bit write.
The VGA "text mode" buffer has a pair of bytes for each character: One
byte for the character symbol, and an "attribute" byte encoding the
foreground and background colours.  When updating the screen, we were
writing these two bytes separately.

On some virtualized systems, every write results in a glyph being redrawn
into a (graphical) virtual screen; writing these two bytes separately
results in twice as much work being done to draw characters, whereas if
we perform a single 16-bit write instead, the character only needs to be
redrawn once.

On an EC2 c5.4xlarge instance, this change cuts 1.30s from the kernel boot,
speeding it up from 8.90s to 7.60s.

MFC after:	1 week
2018-08-07 08:33:40 +00:00
..
amd64 efirt: Don't enter EFI context early, convert addrs to KVA instead 2018-08-04 21:41:10 +00:00
arm Default to armv5te in LINT on arm. This should fix building LINT there. 2018-08-06 14:40:45 +00:00
arm64 efirt: Don't enter EFI context early, convert addrs to KVA instead 2018-08-04 21:41:10 +00:00
bsm
cam
cddl Reduce taskq and context-switch cost of zio pipe 2018-08-03 02:16:45 +00:00
compat Implement current_work() function in the LinuxKPI. 2018-08-06 10:48:20 +00:00
conf
contrib Remove redundant and incorrect default definition of AF_INET6. AF_INET6 2018-08-07 07:12:59 +00:00
crypto
ddb
dev Replace a pair of 8-bit writes to VGA memory with a single 16-bit write. 2018-08-07 08:33:40 +00:00
dts
fs Copy all bits of a file handle in case there is padding in the structure. 2018-08-05 19:21:50 +00:00
gdb
geom
gnu
i386
isa
kern Swap in WKILLED processes. 2018-08-04 20:45:43 +00:00
kgssapi
libkern
mips
modules uep(4): add evdev support 2018-08-05 11:14:13 +00:00
net pf: Increase default hash table size 2018-08-05 13:54:37 +00:00
net80211
netgraph Use if_tunnel_check_nesting() for ng_iface(4). 2018-08-03 22:55:58 +00:00
netinet Address concerns about CPU usage while doing TCP reassembly. 2018-08-06 17:36:57 +00:00
netinet6
netipsec
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv Return ENAMETOOLONG if the latest copied character 2018-08-03 16:44:56 +00:00
rpc
security
sparc64
sys Make the system C11 atomics headers fully compatible with external GCC. 2018-08-06 23:51:08 +00:00
teken
tests
tools
ufs Put in place the framework for consolodating contiguous blocks into 2018-08-06 21:09:11 +00:00
vm Swap in WKILLED processes. 2018-08-04 20:45:43 +00:00
x86 Verify that each frame pointer lies within the thread's kstack. 2018-08-03 02:51:37 +00:00
xdr
xen
Makefile