Fix comment intentation.
This commit is contained in:
parent
f42640a362
commit
a2f510e8ec
@ -276,14 +276,14 @@ mmap(td, uap)
|
||||
if (addr + size < addr)
|
||||
return (EINVAL);
|
||||
} else {
|
||||
/*
|
||||
* XXX for non-fixed mappings where no hint is provided or
|
||||
* the hint would fall in the potential heap space,
|
||||
* place it after the end of the largest possible heap.
|
||||
*
|
||||
* There should really be a pmap call to determine a reasonable
|
||||
* location.
|
||||
*/
|
||||
/*
|
||||
* XXX for non-fixed mappings where no hint is provided or
|
||||
* the hint would fall in the potential heap space,
|
||||
* place it after the end of the largest possible heap.
|
||||
*
|
||||
* There should really be a pmap call to determine a reasonable
|
||||
* location.
|
||||
*/
|
||||
PROC_LOCK(td->td_proc);
|
||||
if (addr == 0 ||
|
||||
(addr >= round_page((vm_offset_t)vms->vm_taddr) &&
|
||||
|
Loading…
Reference in New Issue
Block a user