diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-04-11 21:56:55 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-04-11 21:56:55 +0000 |
commit | e1fa94aa4e8fd968fc27604ed8ae6d7c43d04a07 (patch) | |
tree | a472326e80d397418bb0c90f390a60c4a1ebefde /sys/powerpc/aim/interrupt.c | |
parent | 323a33eb5fa061d94317b04f27519e5f73aa54be (diff) | |
download | FreeBSD-src-e1fa94aa4e8fd968fc27604ed8ae6d7c43d04a07.zip FreeBSD-src-e1fa94aa4e8fd968fc27604ed8ae6d7c43d04a07.tar.gz |
Only manipulate the PGA_EXECUTABLE flag on managed pages. This is a proxy
for whether the page is physical. On dense phys mem systems (32-bit),
VM_PHYS_TO_PAGE will not return NULL for device memory pages if device
memory is above physical memory even if there is no allocated vm_page.
Attempting to use the returned page could then cause either memory
corruption or a page fault.
Diffstat (limited to 'sys/powerpc/aim/interrupt.c')
0 files changed, 0 insertions, 0 deletions