From 62b009f8b179a95d34929daf49b97c99e358547a Mon Sep 17 00:00:00 2001 From: dyson Date: Sun, 8 Sep 1996 20:44:49 +0000 Subject: Addition of page coloring support. Various levels of coloring are afforded. The default level works with minimal overhead, but one can also enable full, efficient use of a 512K cache. (Parameters can be generated to support arbitrary cache sizes also.) --- sys/vm/vm_pager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/vm/vm_pager.c') diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index c7c9964..b8db9ac 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_pager.c,v 1.22 1996/05/03 21:01:53 phk Exp $ + * $Id: vm_pager.c,v 1.23 1996/05/18 03:38:05 dyson Exp $ */ /* @@ -298,6 +298,7 @@ getpbuf() bzero(bp, sizeof *bp); bp->b_rcred = NOCRED; bp->b_wcred = NOCRED; + bp->b_qindex = QUEUE_NONE; bp->b_data = (caddr_t) (MAXPHYS * (bp - swbuf)) + swapbkva; bp->b_vnbufs.le_next = NOLIST; return bp; @@ -323,6 +324,7 @@ trypbuf() bzero(bp, sizeof *bp); bp->b_rcred = NOCRED; bp->b_wcred = NOCRED; + bp->b_qindex = QUEUE_NONE; bp->b_data = (caddr_t) (MAXPHYS * (bp - swbuf)) + swapbkva; bp->b_vnbufs.le_next = NOLIST; return bp; -- cgit v1.1