freebsd-skq/sys
markj e25228e838 Update the checks in vm_page_zone_import().
- Remove the cnt == 1 check.  UMA passes cnt == 1 when it has disabled
  per-CPU caching.  In this case we might as well just allocate a single
  page and return it to the caller, since the caller is going to do
  exactly that anyway if the UMA cache allocation attempt fails.
- Don't replenish caches if the domain is severely short on free pages.
  With large buckets we may otherwise quickly exacerbate a situation
  where the page daemon is failing to keep up.
- Don't replenish caches if the calling thread belongs to the page
  daemon, which should avoid creating extra memory pressure when it is
  trying to free memory.  Virtually all such allocations while occur in
  the context of laundering, where the laundry thread must allocate
  slabs for various swap and I/O-related UMA zones.

Reviewed by:	kib
Discussed with:	alc, jeff
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22394
2019-11-22 16:31:10 +00:00
..
amd64 Add kcsan_md_unsupported from NetBSD. 2019-11-21 13:22:23 +00:00
arm Remove two obsolete comments that reference splhigh/splx. 2019-11-21 18:49:54 +00:00
arm64 Add kcsan_md_unsupported from NetBSD. 2019-11-21 13:22:23 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Set handling for some "Logical unit not ready" errors. 2019-11-20 20:00:03 +00:00
cddl MFV r354383: 10592 misc. metaslab and vdev related ZoL bug fixes 2019-11-21 13:35:43 +00:00
compat linux: avoid overhead of P_CONTROLT checks if possible 2019-11-20 12:06:29 +00:00
conf NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
contrib Update to Zstandard 1.4.4 2019-11-16 16:39:08 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb
dev NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
dts
fs Fix the pNFS server's reporting of SpaceUsed (va_bytes). 2019-11-22 00:22:55 +00:00
gdb gdb(4): Implement support for NoAckMode 2019-10-17 22:37:25 +00:00
geom Add GEOM attribute to report physical device name, and report it 2019-11-09 17:30:19 +00:00
gnu arm: dts: ti: Fix mmc3 instance by setting it to disabled 2019-10-07 08:11:49 +00:00
i386 Convert in-tree sysent targets to use new makesyscalls.lua 2019-11-18 23:28:23 +00:00
isa
kern cc_ktr_event_name is used only with KTR 2019-11-21 23:55:43 +00:00
kgssapi
libkern Port the NetBSD KCSAN runtime to FreeBSD. 2019-11-21 11:22:08 +00:00
mips Remove two obsolete comments that reference splhigh/splx. 2019-11-21 18:49:54 +00:00
modules NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
net netmap: check if we already ran mmap before we attempt it 2019-11-19 21:29:49 +00:00
net80211 Don't use if_maddr_rlock() in 802.11, use epoch(9) directly instead. 2019-10-10 23:55:33 +00:00
netgraph Fix regression from r353026. Pointer was increased instead of value 2019-11-02 03:09:17 +00:00
netinet Reduce the vnet_set module size of ip_mroute to allow loading as a module. 2019-11-19 15:38:55 +00:00
netinet6 in6: move include 2019-11-19 21:14:15 +00:00
netipsec netinet*: replace IP6_EXTHDR_GET() 2019-11-15 21:44:17 +00:00
netpfil pf: Must be in NET_EPOCH to call icmp_error 2019-10-18 03:36:26 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Prevent potential underflow in ibcore. 2019-11-15 11:46:53 +00:00
opencrypto kTLS support for TLS 1.3 2019-09-27 19:17:40 +00:00
powerpc powerpc/ptrace: Give ptrace(2) access to SPE registers when available 2019-11-22 04:34:46 +00:00
riscv RISC-V: busdma_bounce: fix BUS_DMA_ALLOCNOW for non-paged aligned sizes 2019-11-16 01:25:51 +00:00
rpc
security Instead of looking up a predecessor or successor to the current map 2019-11-20 16:06:48 +00:00
sparc64 Set MALLOC_DEBUG_MAXZONES=1 in GENERIC-NODEBUG configurations. 2019-11-18 20:03:28 +00:00
sys Delete ih_thread. Should have gone in r334170. 2019-11-21 23:55:19 +00:00
teken
tests
tools Add makesyscalls.lua, a rewrite of makesyscalls.sh 2019-11-17 14:08:19 +00:00
ufs Add some KASSERTs. Reacquire a mutex after a kernel printf rather 2019-11-20 01:10:01 +00:00
vm Update the checks in vm_page_zone_import(). 2019-11-22 16:31:10 +00:00
x86 Port the NetBSD KCSAN runtime to FreeBSD. 2019-11-21 11:22:08 +00:00
xdr
xen
Makefile