opnsense-src/sys/amd64
Konstantin Belousov faccac2d45 Correct a critical accounting error in pmap_demote_pde(). Specifically,
when pmap_demote_pde() allocates a page table page to implement a
user-space demotion, it must increment the pmap's resident page count.
Not doing so, can lead to an underflow during address space termination
that causes pmap_remove() to exit prematurely, before it has destroyed
all of the mappings within the specified range.  The ultimate effect or
symptom of this error is an assertion failure in vm_page_free_toq()
because the page being freed is still mapped.

This error is only possible when superpage promotion is enabled.  Thus,
it only affects FreeBSD  versions greater than 7.2.

Tested by:	pho, alc
Reviewed by:	alc
Approved by:	re (rwatson)
MFC after:	1 week
2009-08-17 13:27:55 +00:00
..
acpica Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
amd64 Correct a critical accounting error in pmap_demote_pde(). Specifically, 2009-08-17 13:27:55 +00:00
compile Make space for compilations. 2002-07-06 02:49:07 +00:00
conf * Completely Remove the option STOP_NMI from the kernel. This option 2009-08-13 17:09:45 +00:00
ia32 Restore the segment registers and segment base MSRs for amd64 syscall 2009-07-09 09:34:11 +00:00
include Adjust the handling of the local APIC PMC interrupt vector: 2009-08-14 21:05:08 +00:00
isa Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
linux32 Restore the segment registers and segment base MSRs for amd64 syscall 2009-07-09 09:34:11 +00:00
pci Match PCI Express root bridge _HID directly instead of 2009-07-13 21:36:31 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00