NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/50985: uvm_mmap.c::range_test should use runtime limits of the vmspace?



The following reply was made to PR kern/50985; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, martin%NetBSD.org@localhost
Subject: re: kern/50985: uvm_mmap.c::range_test should use runtime limits of the vmspace?
Date: Tue, 22 Mar 2016 07:48:56 +1100

 >  -	vaddr_t vm_min_address = VM_MIN_ADDRESS;
 >  -	vaddr_t vm_max_address = VM_MAXUSER_ADDRESS;
 >  +	vaddr_t vm_min_address = vm_map_min(map);
 >  +	vaddr_t vm_max_address = vm_map_max(map);
 
 the max address now is in the kernel space on some platforms, i think.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index