]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When attempting to satisfy mmap() requests for superpage alignment on
authorrwatson <rwatson@FreeBSD.org>
Sat, 30 Apr 2016 19:29:03 +0000 (19:29 +0000)
committerrwatson <rwatson@FreeBSD.org>
Sat, 30 Apr 2016 19:29:03 +0000 (19:29 +0000)
commita4a64126435b1a0e25214625107187188b9437ae
treeebd58d1b7ff51b461c50ff7aa81f3fd34ef56a51
parent9308a287b414d87065bd0b502f6e994d5e254f56
When attempting to satisfy mmap() requests for superpage alignment on
64-bit MIPS, use superpage rather than physical-segment constants, or
we may improperly fail to apply suitable alignment -- yet still allow
mmap() to appear to succeed.

Reviewed by: sson
MFC after: 1 week
Sponsored by: DARPA, AFRL
sys/mips/include/param.h
sys/mips/mips/pmap.c