Date: Sat, 20 Mar 2010 15:27:01 +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: <201003201527.o2KFRKiQ027791@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-03-20 15:27:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/powerpc/aim mmu_oea64.c Log: SVN rev 205382 on 2010-03-20 15:27:01Z by nwhitehorn MFC r204297: 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 back into regular KVA space for consistency with other implementations. Revision Changes Path 1.4.2.12 +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?201003201527.o2KFRKiQ027791>