freebsd-skq/sys
Mateusz Guzik 4f00177887 pipe: reduce atime precision
The routine is called on successful write and read, which on pipes happens a
lot and for small sizes.

Precision provided by default seems way bigger than necessary and it causes
problems in vms on amd64 (it rdtscp's which vmexits). getnanotime seems to
provide the level roughly in lines of Linux so we should be good here.

Sample result from will-it-scale pipe1_processes -t 1 (ops/s):
before: 426464
after: 3247421

Note the that atime handling for named pipes is broken with and without the
patch. The filesystem code is never used for updating atime and never looks
at the updated field. Consequently, while there are no provisions added to
handle named pipes separately, the change is a nop for that case.

Differential Revision:	 https://reviews.freebsd.org/D23964
2020-08-05 19:15:59 +00:00
..
amd64 o Add machine/iommu.h and include MD iommu headers from it, 2020-08-05 19:11:31 +00:00
arm allwinner: clk: Fix nm clock calculation 2020-08-05 08:31:26 +00:00
arm64 Add clocks for ethernet controllers on RK3328 2020-08-05 18:22:24 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam Minor cleanups in mmc_xpt.c 2020-08-04 21:58:43 +00:00
cddl MFOpenZFS: Add support for boot environment data to be stored in the label 2020-08-05 14:32:20 +00:00
compat Fix a TOCTOU vulnerability in freebsd32_copyin_control(). 2020-08-05 17:06:14 +00:00
conf Add a GPIO driver for the Raspberry Pi firmware GPIOs 2020-08-03 17:18:12 +00:00
contrib Import PCG-C into sys/contrib 2020-07-30 23:54:25 +00:00
crypto padlock: fix Via Padlock with 192-bit keys 2020-07-20 16:12:14 +00:00
ddb [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
dev o Add machine/iommu.h and include MD iommu headers from it, 2020-08-05 19:11:31 +00:00
dts Remove licenses 2020-06-04 17:20:58 +00:00
fs vfs: remove the obsolete privused argument from vaccess 2020-08-05 09:27:03 +00:00
gdb
geom Fix indentation. 2020-07-27 16:31:21 +00:00
gnu Import DTS files for arm, arm64, riscv from Linux 5.8 2020-08-04 19:44:43 +00:00
i386 o Add machine/iommu.h and include MD iommu headers from it, 2020-08-05 19:11:31 +00:00
isa
kern pipe: reduce atime precision 2020-08-05 19:15:59 +00:00
kgssapi Add support for optional separate output buffers to in-kernel crypto. 2020-05-25 22:12:04 +00:00
libkern libkern: Add arc4random_uniform 2020-05-23 17:51:06 +00:00
mips Include virtio support in std.MALTA 2020-07-31 11:28:09 +00:00
modules Add missing dependency for cpsw module. 2020-08-01 09:06:16 +00:00
net Remove free_domain() and uma_zfree_domain(). 2020-08-04 13:58:36 +00:00
net80211 [net80211] Add new privileges; restrict what can be done in a jail. 2020-07-19 15:16:27 +00:00
netgraph ng_iface(4): Remove unsupported protocols. 2020-07-31 14:08:54 +00:00
netinet The recent changes to move the ref count increment 2020-07-31 10:03:32 +00:00
netinet6 Fix typo. 2020-08-05 10:27:11 +00:00
netipsec Simplify IPsec transform-specific teardown. 2020-06-25 23:59:16 +00:00
netpfil Handle delayed checksums if needed in NAT64. 2020-08-05 09:16:35 +00:00
netsmb
nfs Transition from rtrequest1_fib() to rib_action(). 2020-07-21 19:56:13 +00:00
nfsclient
nfsserver
nlm Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00
ofed Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
opencrypto Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
powerpc Set si_addr to dar for MMU and alignment faults. 2020-07-27 16:34:31 +00:00
riscv Add DDB_CTF to the arm64 and riscv kernel configs 2020-08-05 11:54:51 +00:00
rpc Fix up a comment added by r362455. 2020-06-21 02:49:56 +00:00
security vfs: add a cheaper entry for mac_vnode_check_access 2020-08-05 07:34:45 +00:00
sys Add m__getjcl SDT probe. 2020-08-05 11:39:09 +00:00
teken
tests
tools makesyscalls.lua: improve syscall ordering validation 2020-08-04 21:49:13 +00:00
ufs vfs: remove the obsolete privused argument from vaccess 2020-08-05 09:27:03 +00:00
vm Remove most lingering references to the page lock in comments. 2020-08-04 14:59:43 +00:00
x86 o Add machine/iommu.h and include MD iommu headers from it, 2020-08-05 19:11:31 +00:00
xdr Split XDR into separate kernel module. Make krpc depend on xdr. 2020-04-17 06:04:20 +00:00
xen
Makefile