Author: jhibbits Date: Sun Apr 10 15:50:45 2016 New Revision: 297785 URL: https://svnweb.freebsd.org/changeset/base/297785
Log: VM_MAXUSER_ADDRESS is highest page start, not highest address. In case a single page mapping is requested first, which might overlap the user address space, fix the device map block to the next page. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c ============================================================================== --- head/sys/powerpc/booke/pmap.c Sun Apr 10 15:48:09 2016 (r297784) +++ head/sys/powerpc/booke/pmap.c Sun Apr 10 15:50:45 2016 (r297785) @@ -192,7 +192,7 @@ static tlb_entry_t tlb1[TLB1_MAXENTRIES] /* Next free entry in the TLB1 */ static unsigned int tlb1_idx; -static vm_offset_t tlb1_map_base = VM_MAXUSER_ADDRESS; +static vm_offset_t tlb1_map_base = VM_MAXUSER_ADDRESS + PAGE_SIZE; static tlbtid_t tid_alloc(struct pmap *); static void tid_flush(tlbtid_t tid); _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
