1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00
freebsd/sys
Konstantin Belousov 741e1c9196 Revert the chunk from r330410 in vm_page_reclaim_run().
There, the pages freed might be managed but the page's lock is not
owned.  For KPI correctness, the page lock is requried around the call
to vm_page_free_prep(), which is asserted.  Reclaim loop already did
the work which could be done by vm_page_free_prep(), so the lock is
not needed and the only consequence of not owning it is the assert
trigger.

Instead of adding the locking to satisfy the assert, revert to the
code that calls vm_page_free_phys() directly.

Reported by:	pho
Discussed with:	jeff
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2018-03-13 18:27:23 +00:00
..
amd64 EFIRT: SetVirtualAddressMap with 1:1 mapping after exiting boot services 2018-03-13 17:10:52 +00:00
arm arm: Remove SoC Specific -MMCCAM kernelconfig 2018-03-11 23:14:50 +00:00
arm64 EFIRT: SetVirtualAddressMap with 1:1 mapping after exiting boot services 2018-03-13 17:10:52 +00:00
bsm
cam Reject ioctls to SCSI enclosures from 32-bit compat processes. 2018-03-12 23:02:01 +00:00
cddl MFV r330591: 8984 fix for 6764 breaks ACL inheritance 2018-03-07 13:49:26 +00:00
compat Linuxulator: apply style(9) to return 2018-03-12 15:35:24 +00:00
conf Implement NO_WCAST_QUAL for gcc4.2 architectures 2018-03-12 05:41:27 +00:00
contrib MFV: zstd: FIO_addFInfo: Fully initialize output 'total' struct 2018-03-05 20:03:45 +00:00
crypto Remove unused error return from API that cannot fail 2018-02-23 20:15:19 +00:00
ddb db_script_exec: use a saved script name when reporting commands executed 2018-03-04 13:27:21 +00:00
dev Correct minor typo in comment, efi_dmcap -> efi_tmcap 2018-03-13 15:02:46 +00:00
dts [rpi] remove IRQ support for BCM233x RNG 2018-03-10 02:49:58 +00:00
fs Fix Bad file descriptor error. 2018-03-09 04:45:24 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom g_part_gpt: Fix memory leak in error path 2018-03-07 01:55:50 +00:00
gnu
i386 Use C99 boolean type for translate_osrel 2018-03-13 16:40:29 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Use C99 boolean type for translate_osrel 2018-03-13 16:40:29 +00:00
kgssapi
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips MIPS: Implement fue*word* and casueword* in assembly. 2018-03-12 22:10:06 +00:00
modules usb/wlan/*: properly include "opt_wlan.h" into all drivers 2018-03-10 23:16:24 +00:00
net Define ethernet type 0x88A8 as ETHERTYPE_QINQ. 2018-03-06 12:01:31 +00:00
net80211 net80211: wrap protection frame allocation into ieee80211_alloc_prot() 2018-03-09 11:33:56 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Update tcp_lro with tested bugfixes from Netflix and LLNW: 2018-03-09 00:08:43 +00:00
netinet6
netipsec Rework key_sendup_mbuf() a bit: 2018-03-11 19:14:01 +00:00
netpfil Do not try to reassemble IPv6 fragments in "reass" rule. 2018-03-12 09:40:46 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Make sure VNET is set when calling sa6_recoverscope() in ibcore. 2018-03-07 13:32:52 +00:00
opencrypto
powerpc Restore missing temporary variable, deleted by accident in r330845. This 2018-03-13 18:24:21 +00:00
riscv Unify bulk free operations in several pmaps. 2018-03-04 20:53:20 +00:00
rpc
security mac_portacl(4): stop panicing INVARIANTS-enabled kernel by loading .ko 2018-02-25 23:10:13 +00:00
sparc64 amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
sys Use C99 boolean type for translate_osrel 2018-03-13 16:40:29 +00:00
teken
tests
tools
ufs This change is some refactoring of Mark Johnston's changes in r329375 2018-03-02 04:34:53 +00:00
vm Revert the chunk from r330410 in vm_page_reclaim_run(). 2018-03-13 18:27:23 +00:00
x86 at_rtc: check in ACPI FADT boot flags if the RTC is present 2018-03-13 09:42:33 +00:00
xdr
xen
Makefile