aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_reserv.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2015-06-08 04:59:32 +0000
committerAlan Cox <alc@FreeBSD.org>2015-06-08 04:59:32 +0000
commit966272ca336a1ef3705320e1e4d01a7aa810a853 (patch)
treef9c2521dff01a6c7c42ed915639dab5baafcae3d /sys/vm/vm_reserv.c
parent6f769b730c31404fc0d356be433a27ad9deda771 (diff)
downloadsrc-966272ca336a1ef3705320e1e4d01a7aa810a853.tar.gz
src-966272ca336a1ef3705320e1e4d01a7aa810a853.zip
Retire VM_FREEPOOL_CACHE as the next step in eliminating PG_CACHE pages.
Differential Revision: https://reviews.freebsd.org/D2712 Reviewed by: kib Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=284147
Diffstat (limited to 'sys/vm/vm_reserv.c')
-rw-r--r--sys/vm/vm_reserv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_reserv.c b/sys/vm/vm_reserv.c
index b74c768f48e1..2cfc630026de 100644
--- a/sys/vm/vm_reserv.c
+++ b/sys/vm/vm_reserv.c
@@ -801,9 +801,6 @@ vm_reserv_free_page(vm_page_t m)
rv = vm_reserv_from_page(m);
if (rv->object == NULL)
return (FALSE);
- if ((m->flags & PG_CACHED) != 0 && m->pool != VM_FREEPOOL_CACHE)
- vm_phys_set_pool(VM_FREEPOOL_CACHE, rv->pages,
- VM_LEVEL_0_ORDER);
vm_reserv_depopulate(rv, m - rv->pages);
return (TRUE);
}