freebsd-nq/sys
Alan Cox 41bf90bb78 Address two problems with sendfile(..., SF_NOCACHE) and apply one
"optimization".  First, sendfile(..., SF_NOCACHE) frees pages without
checking whether those pages are mapped.  This can leave the system
with mappings to free or repurposed pages.  Second, a page can be
busied between the time of the current busy test and acquiring the
object lock.  Essentially, the test performed before the object lock
is acquired can only be regarded as an optimization to short-circuit
further work on the page.  It cannot, however, be relied upon to prove
that it is safe to free the page.  Third, when sendfile(..., SF_NOCACHE)
was originally implemented, vm_page_deactivate_noreuse() did not yet
exist.  Use vm_page_deactivate_noreuse() instead of vm_page_deactivate(),
because it comes closer to freeing the page.

In collaboration with:	glebius
Discussed with:	gallatin, kib, markj
X-MFC after:	r324448
2017-10-13 16:31:50 +00:00
..
amd64 Change amd64_get_ldt() to return 'EOF' when the LDT is not yet 2017-10-09 16:20:39 +00:00
arm a10_ehci: Remove the passby code 2017-10-12 18:00:29 +00:00
arm64 Support the EFI Runtime Services on arm64. As with amd64 we use the 1:1 2017-10-10 13:05:26 +00:00
boot Move panic back into libsa. It's documented in libstand(3) to belong 2017-10-12 15:16:27 +00:00
bsm
cam Fix iSCSI target panics on concurrent session teardown and display 2017-10-04 11:35:04 +00:00
cddl illumos mutex_init: use SX_NEW instead of bzero 2017-10-09 07:44:09 +00:00
compat Don't call selrecord() outside the select system call in the LinuxKPI, because 2017-10-13 14:14:46 +00:00
conf Support the EFI Runtime Services on arm64. As with amd64 we use the 1:1 2017-10-10 13:05:26 +00:00
contrib Merge ACPICA 20170929 (take 2). 2017-10-10 19:33:24 +00:00
crypto aesni(4): CRYPTO_AES_NIST_GCM_16 mandates MAC 2017-10-04 21:15:45 +00:00
ddb
dev o Support for Kabylake CPU PMCs (fall down to PMC_CPU_INTEL_SKYLAKE). 2017-10-13 15:02:29 +00:00
fs When unmounting a tmpfs, do not call free_unr. 2017-10-11 21:53:53 +00:00
gdb
geom Display rotation rate and TRIM/UNMAP support in diskinfo(8) 2017-10-04 15:09:49 +00:00
gnu
i386 Change i386_get_ldt() to return 'EOF' when the requested range of 2017-10-09 16:19:26 +00:00
isa
kern Address two problems with sendfile(..., SF_NOCACHE) and apply one 2017-10-13 16:31:50 +00:00
kgssapi
libkern Continuing efforts to provide hardening of FFS, this change adds a 2017-09-22 12:45:15 +00:00
mips bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
modules Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that 2017-10-10 19:14:40 +00:00
net rss: Remove never defined UDP_IPV4_EX 2017-10-11 06:08:01 +00:00
net80211 [net80211] don't try to follow a NULL rxs pointer down the sink. 2017-10-13 06:49:07 +00:00
netgraph Correction after r323873: #include <sys/lock.h> in addition to <sys/rmlock.h> 2017-09-28 11:26:37 +00:00
netinet Declare more TCP globals in tcp_var.h, so that alternative TCP stacks 2017-10-11 20:36:09 +00:00
netinet6 Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
netipsec opencrypto: Loosen restriction on HMAC key sizes 2017-09-26 16:18:10 +00:00
netpfil Fix regression in handling O_FORWARD_IP opcode after r279948. 2017-10-13 11:11:53 +00:00
netsmb netsmb: Fix buggy/racy smb_strdupin() 2017-09-29 15:53:26 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Make sure the IPv6 scope ID gets zeroed inside the GID. Else searching for a 2017-10-10 12:36:41 +00:00
opencrypto crypto(9): Print flags in more useful hex 2017-10-11 20:04:30 +00:00
powerpc PPC: increase MAX_PICS to 32 2017-10-02 06:05:19 +00:00
riscv Sync with amd64/arm/arm64/i386/mips pmap change r288256: 2017-09-20 04:19:49 +00:00
rpc
security
sparc64 Don't use a non-zero argument for __builtin_frame_address 2017-10-11 03:50:44 +00:00
sys Add clearing function for unr(9). 2017-10-11 21:53:50 +00:00
teken
tests
tools
ufs Don't defer wakeup()s for completed journal workitems. 2017-09-26 23:24:15 +00:00
vm Evaluate the real size of the sblk_zone. 2017-10-13 16:23:05 +00:00
x86 x86: Decode AMD "Extended Feature Extensions ID EBX" bits 2017-09-20 18:30:37 +00:00
xdr
xen
Makefile