summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw_pfil.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2007-10-07 18:03:03 +0000
committeralc <alc@FreeBSD.org>2007-10-07 18:03:03 +0000
commit19c4fce2e39c325ffe0bd1b22f2f15e20514579f (patch)
tree6f69a336b07b412f05aaf3813afeec0a539f29ad /sys/netinet/ip_fw_pfil.c
parent3faef0286022deb16a1b3270d26e8aeeb68434fe (diff)
downloadFreeBSD-src-19c4fce2e39c325ffe0bd1b22f2f15e20514579f.zip
FreeBSD-src-19c4fce2e39c325ffe0bd1b22f2f15e20514579f.tar.gz
Correct a lock assertion failure in sparc64's pmap_page_is_mapped() that is
a consequence of sparc64/sparc64/vm_machdep.c revision 1.76. It occurs when uma_small_free() frees a page. The solution has two parts: (1) Mark pages allocated with VM_ALLOC_NOOBJ as PG_UNMANAGED. (2) Defer the lock assertion in pmap_page_is_mapped() until after PG_UNMANAGED is tested. This is safe because both PG_UNMANAGED and PG_FICTITIOUS are immutable flags, i.e., they do not change state between the time that a page is allocated and freed. Approved by: re (kensmith) PR: 116794
Diffstat (limited to 'sys/netinet/ip_fw_pfil.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud