From 94cf5454c6144440a3d50bba5e0179300e984d5e Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Fri, 11 Mar 2016 23:23:48 -0800 Subject: [PATCH 12/16] Remove the vm_object cache field. --- sys/vm/vm_object.c | 2 -- sys/vm/vm_object.h | 1 - 2 files changed, 3 deletions(-) diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index c831494..bba9451 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -209,8 +209,6 @@ vm_object_zinit(void *mem, int size, int flags) object->paging_in_progress = 0; object->resident_page_count = 0; object->shadow_count = 0; - object->cache.rt_root = 0; - object->cache.rt_flags = 0; mtx_lock(&vm_object_list_mtx); TAILQ_INSERT_TAIL(&vm_object_list, object, object_list); diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 7eae6cb..a58fa1c 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -118,7 +118,6 @@ struct vm_object { vm_ooffset_t backing_object_offset;/* Offset in backing object */ TAILQ_ENTRY(vm_object) pager_object_list; /* list of all objects of this pager type */ LIST_HEAD(, vm_reserv) rvq; /* list of reservations */ - struct vm_radix cache; /* (o + f) root of the cache page radix trie */ void *handle; union { /* -- 2.8.1