freebsd-skq/sys/amd64
Konstantin Belousov ad4e4ae591 Restore an optimization that was temporary disabled by r324665.
In reclaim_pv_chunk(), rotate the pv chunks list so that next
invocations of the reclaim do not scan the same pv chunks that could
not be freed.  Only do the rotation when there is no parallel scan,
tracked by active_reclaims counter.

To rotate, move all chunks that are before current iteration marker,
after another marker that is inserted at the list tail on start of the
reclaim.

Reviewed by:	alc
Tested by:	pho (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2017-11-01 18:06:44 +00:00
..
acpica Ensure that resume path on amd64 only accesses page tables for normal 2017-05-15 20:52:43 +00:00
amd64 Restore an optimization that was temporary disabled by r324665. 2017-11-01 18:06:44 +00:00
cloudabi32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
cloudabi64 Keep top page on CloudABI to work around AMD Ryzen stability issues. 2017-08-02 13:08:10 +00:00
conf Update several more URLs 2017-10-29 08:17:03 +00:00
ia32 amd64: avoid acquiring dt lock if possible (which is the common case) 2017-10-20 03:30:02 +00:00
include Make the sleepq chain hash size configurable per-arch and bump on amd64. 2017-10-22 20:43:50 +00:00
linux amd64: avoid acquiring dt lock if possible (which is the common case) 2017-10-20 03:30:02 +00:00
linux32 amd64: avoid acquiring dt lock if possible (which is the common case) 2017-10-20 03:30:02 +00:00
pci pcicfg: Fix direct calls of pci_cfg{read,write} on systems w/o PCI host bridge. 2017-05-04 05:28:46 +00:00
sgx Fix module unload when SGX support is not present in CPU. 2017-08-18 14:47:06 +00:00
vmm Emulate the "OR reg, r/m" instruction (opcode 0BH). 2017-11-01 03:26:53 +00:00
Makefile