1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-10 14:02:43 +00:00
freebsd/sys
Konstantin Belousov 3949873f7a Do not use vmspace_resident_count() for the OOM process selection.
Residency count track the number of pte entries installed into the
current pmap, which does not reflect the consumption of the physical
memory by the address map.  Due to several mechanisms like pv entries
reclamation, copy on write etc. the resident pte entries count may be
much less than the amount of physical memory kept by the process.

Provide the OOM-specific vm_pageout_oom_pagecount() function which
estimates the amount of reclamaible memory which could be stolen if
the process is killed.

Reported and tested by:	pho
Reviewed by:	alc
Comments text by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
2015-11-16 06:02:11 +00:00
..
amd64 Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
arm Replace magic numbers for CCGRx registers with more descriptive names 2015-11-14 22:46:50 +00:00
arm64 Fix typo in message from arm64 ITS workaround 2015-11-09 01:49:25 +00:00
boot Add support for the Zybo and similar boards to ZEDBOARD kernel. 2015-11-13 15:36:40 +00:00
bsm
cam Add NULL check to make Coverity happy. 2015-11-14 14:56:01 +00:00
cddl Switch zfs_panic_recover to panic for bad DVA 2015-11-06 20:45:19 +00:00
compat Add assert and note about the size of "unsigned long" inside the 2015-11-13 09:00:39 +00:00
conf Now that the PMU implementation is independent of HWPMC 2015-11-09 17:57:32 +00:00
contrib Fix slots DMA memory handling. It's similar to r290553. 2015-11-10 10:56:52 +00:00
crypto
ddb
dev Increase reset assertion time from 10 to 100us. 2015-11-15 10:58:01 +00:00
fs - Consistently use PROC_ASSERT_HELD() to verify that a process' hold count 2015-11-08 01:38:56 +00:00
gdb
geom
gnu
i386 Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
isa
kern Speed up rctl operation with large rulesets, by holding the lock 2015-11-15 12:10:51 +00:00
kgssapi
libkern
mips Add initial support for the QCA953x ("Honeybee") from Qualcomm Atheros. 2015-11-16 04:28:00 +00:00
modules Add riotboard DTB to dtb/imx6 2015-11-12 03:37:28 +00:00
net Pass provided af instead of AF_UNSPEC to setwa_f callback. 2015-11-14 18:16:17 +00:00
net80211
netgraph Move iflladdr_event eventhandler invocation to if_setlladdr. 2015-11-14 13:34:03 +00:00
netinet Revert r290403 2015-11-13 23:14:39 +00:00
netinet6 Bring back the ability of passing cached route via nd6_output_ifp(). 2015-11-15 16:02:22 +00:00
netipsec
netnatm
netpfil Bring back the ability of passing cached route via nd6_output_ifp(). 2015-11-15 16:02:22 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Fix integer to pointer of different size conversion warnings when 2015-11-12 10:12:20 +00:00
opencrypto
pc98
powerpc
rpc
security
sparc64
sys Doh, commit in a wrong directory. Fix r290857. 2015-11-15 12:50:14 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools
ufs
vm Do not use vmspace_resident_count() for the OOM process selection. 2015-11-16 06:02:11 +00:00
x86 x86/dma_bounce: rework _bus_dmamap_load_ma implementation 2015-11-09 12:19:58 +00:00
xdr
xen
Makefile