diff options
| -rw-r--r-- | sys/vm/swap_pager.c | 3 | ||||
| -rw-r--r-- | sys/vm/vm_object.c | 3 | ||||
| -rw-r--r-- | sys/vm/vm_object.h | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 37be6cc099cc..45bb363b4447 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -64,7 +64,7 @@ * * @(#)swap_pager.c 8.9 (Berkeley) 3/21/94 * - * $Id: swap_pager.c,v 1.119 1999/06/26 02:46:46 mckusick Exp $ + * $Id: swap_pager.c,v 1.120 1999/06/27 22:08:38 peter Exp $ */ #include <sys/param.h> @@ -1193,7 +1193,6 @@ swap_pager_getpages(object, m, count, reqpage) if (mreq->valid != VM_PAGE_BITS_ALL) { return(VM_PAGER_ERROR); } else { - mreq->object->last_read = lastpindex; return(VM_PAGER_OK); } diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index d29b92b6570b..2df7e2accdcd 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.158 1999/07/01 19:53:42 peter Exp $ + * $Id: vm_object.c,v 1.159 1999/07/11 18:30:32 alc Exp $ */ /* @@ -175,7 +175,6 @@ _vm_object_allocate(type, size, object) */ object->hash_rand = object_hash_rand - 129; - object->last_read = 0; object->generation++; TAILQ_INSERT_TAIL(&vm_object_list, object, object_list); diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index a311ddfc0359..86bbaa864ff4 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.h,v 1.56 1999/06/20 21:47:01 alc Exp $ + * $Id: vm_object.h,v 1.57 1999/07/10 18:29:18 alc Exp $ */ /* @@ -102,7 +102,6 @@ struct vm_object { int resident_page_count; /* number of resident pages */ struct vm_object *backing_object; /* object that I'm a shadow of */ vm_ooffset_t backing_object_offset;/* Offset in backing object */ - vm_offset_t last_read; /* last read in object -- detect seq behavior */ TAILQ_ENTRY(vm_object) pager_object_list; /* list of all objects of this pager type */ void *handle; union { |
