Module Name:    src
Committed By:   yamt
Date:           Thu Nov 10 14:33:18 UTC 2011

Modified Files:
        src/sys/rump/librump/rumpkern [yamt-pagecache]: vm.c

Log Message:
remove uobj->memq


To generate a diff of this commit:
cvs rdiff -u -r1.120.2.1 -r1.120.2.2 src/sys/rump/librump/rumpkern/vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.120.2.1 src/sys/rump/librump/rumpkern/vm.c:1.120.2.2
--- src/sys/rump/librump/rumpkern/vm.c:1.120.2.1	Wed Nov  2 21:53:59 2011
+++ src/sys/rump/librump/rumpkern/vm.c	Thu Nov 10 14:33:18 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: vm.c,v 1.120.2.1 2011/11/02 21:53:59 yamt Exp $	*/
+/*	$NetBSD: vm.c,v 1.120.2.2 2011/11/10 14:33:18 yamt Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.120.2.1 2011/11/02 21:53:59 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.120.2.2 2011/11/10 14:33:18 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -162,7 +162,6 @@ uvm_pagealloc_strat(struct uvm_object *u
 		uvm_pagezero(pg);
 	}
 
-	TAILQ_INSERT_TAIL(&uobj->memq, pg, listq.queue);
 	error = radix_tree_insert_node(&uobj->uo_pages,
 	    pg->offset >> PAGE_SHIFT, pg);
 	KASSERT(error == 0);
@@ -201,8 +200,6 @@ uvm_pagefree(struct vm_page *pg)
 	if (pg->flags & PG_WANTED)
 		wakeup(pg);
 
-	TAILQ_REMOVE(&uobj->memq, pg, listq.queue);
-
 	uobj->uo_npages--;
 	opg = radix_tree_remove_node(&uobj->uo_pages, pg->offset >> PAGE_SHIFT);
 	KASSERT(pg == opg);

Reply via email to