amd64, arm64 pmap: fix a comment typo
There is no such error code. Fixes: 1d5ebad06c20b ("pmap: optimize MADV_WILLNEED on existing superpages")
This commit is contained in:
parent
1f9cc5ffc5
commit
b05b1ecbef
@ -7318,7 +7318,7 @@ pmap_every_pte_zero(vm_paddr_t pa)
|
||||
/*
|
||||
* Tries to create the specified 2MB page mapping. Returns KERN_SUCCESS if
|
||||
* the mapping was created, and one of KERN_FAILURE, KERN_NO_SPACE,
|
||||
* KERN_PROTECTION_FAILURE, or KERN_RESOURCE_FAILURE otherwise. Returns
|
||||
* KERN_PROTECTION_FAILURE, or KERN_RESOURCE_SHORTAGE otherwise. Returns
|
||||
* KERN_FAILURE if either (1) PMAP_ENTER_NOREPLACE was specified and a 4KB
|
||||
* page mapping already exists within the 2MB virtual address range starting
|
||||
* at the specified virtual address or (2) the requested 2MB page mapping is
|
||||
|
@ -4471,7 +4471,7 @@ pmap_every_pte_zero(vm_paddr_t pa)
|
||||
/*
|
||||
* Tries to create the specified 2MB page mapping. Returns KERN_SUCCESS if
|
||||
* the mapping was created, and one of KERN_FAILURE, KERN_NO_SPACE, or
|
||||
* KERN_RESOURCE_FAILURE otherwise. Returns KERN_FAILURE if
|
||||
* KERN_RESOURCE_SHORTAGE otherwise. Returns KERN_FAILURE if
|
||||
* PMAP_ENTER_NOREPLACE was specified and a 4KB page mapping already exists
|
||||
* within the 2MB virtual address range starting at the specified virtual
|
||||
* address. Returns KERN_NO_SPACE if PMAP_ENTER_NOREPLACE was specified and a
|
||||
|
Loading…
x
Reference in New Issue
Block a user