mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
Remove a redundant vm_page_remove() call.
vm_page_free_prep() removes the page from its object. No functional change intended. Reviewed by: alc, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20469
This commit is contained in:
parent
1eb8dfc67a
commit
42447bb506
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348457
@ -2645,7 +2645,6 @@ vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run,
|
||||
} else {
|
||||
m->flags &= ~PG_ZERO;
|
||||
vm_page_dequeue(m);
|
||||
vm_page_remove(m);
|
||||
if (vm_page_free_prep(m))
|
||||
SLIST_INSERT_HEAD(&free, m,
|
||||
plinks.s.ss);
|
||||
|
Loading…
Reference in New Issue
Block a user