mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154695
@ -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 New Issue
Block a user