Module Name: src Committed By: hannken Date: Thu Jul 29 15:13:01 UTC 2010
Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: Correct previous. Skip marker pages in uvm_pagelookup(). Already awake :-) To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 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.86 src/sys/rump/librump/rumpkern/vm.c:1.87 --- src/sys/rump/librump/rumpkern/vm.c:1.86 Thu Jul 29 15:04:04 2010 +++ src/sys/rump/librump/rumpkern/vm.c Thu Jul 29 15:13:00 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: vm.c,v 1.86 2010/07/29 15:04:04 pooka Exp $ */ +/* $NetBSD: vm.c,v 1.87 2010/07/29 15:13:00 hannken Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.86 2010/07/29 15:04:04 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.87 2010/07/29 15:13:00 hannken Exp $"); #include <sys/param.h> #include <sys/atomic.h> @@ -459,6 +459,8 @@ struct vm_page *pg; TAILQ_FOREACH(pg, &uobj->memq, listq.queue) { + if ((pg->flags & PG_MARKER) != 0) + continue; if (pg->offset == off) { return pg; }