mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove an unnecessary call to pmap_remove_all(). The given page is not
mapped because its contents are invalid. Reviewed by: tegge
This commit is contained in:
parent
02dd83311a
commit
bb53e2bf27
1 changed files with 0 additions and 1 deletions
|
|
@ -1518,7 +1518,6 @@ vfs_vmio_release(struct buf *bp)
|
|||
*/
|
||||
if ((bp->b_flags & B_ASYNC) == 0 && !m->valid &&
|
||||
m->hold_count == 0) {
|
||||
pmap_remove_all(m);
|
||||
vm_page_free(m);
|
||||
} else if (bp->b_flags & B_DIRECT) {
|
||||
vm_page_try_to_free(m);
|
||||
|
|
|
|||
Loading…
Reference in a new issue