diff options
author | alc <alc@FreeBSD.org> | 1999-07-16 05:11:37 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-07-16 05:11:37 +0000 |
commit | ab1033c8353731697f2c1ba3aa4908375a5b3d3c (patch) | |
tree | ef7b2cbbb06f9e299d92f27601f4b9f412881242 /sys/vm | |
parent | 7e710934a0b5e0debab4f9edb0e2eed6318a7eaa (diff) | |
download | FreeBSD-src-ab1033c8353731697f2c1ba3aa4908375a5b3d3c.zip FreeBSD-src-ab1033c8353731697f2c1ba3aa4908375a5b3d3c.tar.gz |
Remove vm_object::last_read. It is used by the old swap pager, but
not by the new one, i.e., vm/swap_pager.c rev 1.108.
Reviewed by: dillon@backplane.com
Diffstat (limited to 'sys/vm')
-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 37be6cc..45bb363 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 d29b92b..2df7e2a 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 a311ddf..86bbaa8 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 { |