Date: Thu, 25 Feb 2010 03:53:21 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/aim mmu_oea64.c Message-ID: <201002250353.o1P3rfZD087129@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-02-25 03:53:21 UTC
FreeBSD src repository
Modified files:
sys/powerpc/aim mmu_oea64.c
Log:
SVN rev 204297 on 2010-02-25 03:53:21Z by nwhitehorn
Move the OEA64 scratchpage to the end of KVA from the beginning, and set
its PVO to map physical address 0 instead of kernelstart. This fixes a
situation in which a user process could attempt to return this address
via KVM, have it fault while being modified, and then panic the kernel
because (a) it is supposed to map a valid address and (b) it lies in the
no-fault region between VM_MIN_KERNEL_ADDRESS and virtual_avail.
While here, move msgbuf and dpcpu make into regular KVA space for
consistency with other implementations.
Revision Changes Path
1.17 +14 -9 src/sys/powerpc/aim/mmu_oea64.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002250353.o1P3rfZD087129>
