freebsd-dev/sys
Konstantin Belousov 2d6b8546b7 imgact_elf: do not relock the text vnode if possible.
We unlock the vnode around malloc(M_WAITOK), to make it possible for
pagedaemon to flush vnode pages for us.  Instead of doing it
unconditionally, first try M_NOWAIT allocation, which typically
succeed.  Only on failure, unlock the vnode and retry with M_WAITOK.

Reviewed by:	markj, trasz
Tested by:	mjg, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D19923
2019-05-05 11:04:01 +00:00
..
amd64 x86: Implement MWAIT support for stopping a CPU 2019-05-04 20:34:26 +00:00
arm Add a COMPAT_FREEBSD12 kernel option. 2019-05-02 18:10:23 +00:00
arm64 arm64: Properly restore PAN when done with userspace access in casueword. 2019-05-04 19:40:30 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Report DIF protection type the disk is formatted with. 2019-04-22 01:08:14 +00:00
cddl Add mutex_destroy() missed in r334844. 2019-04-26 19:02:21 +00:00
compat Fix regression issue after r346645 in the LinuxKPI. 2019-05-04 09:47:01 +00:00
conf Add a COMPAT_FREEBSD12 kernel option. 2019-05-02 18:10:23 +00:00
contrib Left justify a function header brace as it should be. 2019-04-28 04:05:43 +00:00
crypto Embedded chacha: Add 0-bit iv + 128-bit counter mode 2019-03-01 23:30:23 +00:00
ddb ddb: Print the thread's pcb in 'show thread' 2019-02-09 21:08:19 +00:00
dev [ath_rate_sample] Have the final attempted rate in 11n modes to be the lowest one. 2019-05-05 06:32:40 +00:00
dts arm64: Add support for NanoPI NEO2 2019-05-02 12:56:13 +00:00
fs Add #ifdef INET as requested by bz@. 2019-04-21 22:53:51 +00:00
gdb
geom Call delist_dev() before destroy_dev_sched_cb(). 2019-04-24 19:56:02 +00:00
gnu Import DTS files from Linux 5.0 2019-04-10 18:15:36 +00:00
i386 x86: Implement MWAIT support for stopping a CPU 2019-05-04 20:34:26 +00:00
isa
kern imgact_elf: do not relock the text vnode if possible. 2019-05-05 11:04:01 +00:00
kgssapi * Handle SIGPIPE in gssd 2019-02-21 01:30:37 +00:00
libkern Revert r346410 and r346411 2019-04-19 22:08:17 +00:00
mips Add a COMPAT_FREEBSD12 kernel option. 2019-05-02 18:10:23 +00:00
modules dtb: Include RK3399 RockPro64 DTS in kernel build 2019-05-02 17:04:01 +00:00
net Allow iflib drivers to pass a pointer to their own ifmedia structure. 2019-05-03 20:05:31 +00:00
net80211 net80211: correct check for SMPS node flags updates 2019-03-18 02:40:22 +00:00
netgraph Remove 'dir' argument in ng_ipfw_input, since ip_fw_args now has this info. 2019-03-14 22:30:05 +00:00
netinet ip multicast debug: fix strings vs defines 2019-04-29 18:09:55 +00:00
netinet6 Track TCP connection's NUMA domain in the inpcb 2019-04-25 15:37:28 +00:00
netipsec Replace read_random(9) with more appropriate arc4rand(9) KPIs 2019-04-04 01:02:50 +00:00
netpfil Add IPv6 support for O_IPLEN opcode. 2019-04-29 09:33:16 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto Don't panic for empty CCM requests. 2019-04-24 23:27:39 +00:00
powerpc powerpc/mpc85xx: Attach MPC85xx PCI bus and root complex at the right pass 2019-05-04 16:24:43 +00:00
riscv Deactivate IRQ resource by calling to intr_deactivate_irq(). 2019-05-01 15:03:12 +00:00
rpc Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. 2019-04-04 01:23:06 +00:00
security When MAC is enabled and a policy module is loaded, don't unconditionally 2019-05-03 20:38:43 +00:00
sparc64 Add a COMPAT_FREEBSD12 kernel option. 2019-05-02 18:10:23 +00:00
sys Fix regression issue after r346645 in the LinuxKPI. 2019-05-04 09:47:01 +00:00
teken Attempt to complete fixing programmable function keys for syscons. 2019-02-20 02:14:41 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs Zero out the file directory entry metadata to reduce disk 2019-05-04 18:00:57 +00:00
vm fls() should find the most significant bit of an int faster than a 2019-05-03 02:55:54 +00:00
x86 x86: Implement MWAIT support for stopping a CPU 2019-05-04 20:34:26 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile