ubc_fault: don't forget to clear PG_WANTED.

reported by Michael Lorenz on tech-kern@.
This commit is contained in:
yamt 2006-04-13 02:17:42 +00:00
parent 9d0aec986d
commit 047ff68ce8
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_bio.c,v 1.44 2006/02/22 22:28:18 drochner Exp $ */
/* $NetBSD: uvm_bio.c,v 1.45 2006/04/13 02:17:42 yamt Exp $ */
/*
* Copyright (c) 1998 Chuck Silvers.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.44 2006/02/22 22:28:18 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.45 2006/04/13 02:17:42 yamt Exp $");
#include "opt_uvmhist.h"
@ -364,7 +364,7 @@ again:
uvm_lock_pageq();
uvm_pageactivate(pg);
uvm_unlock_pageq();
pg->flags &= ~(PG_BUSY);
pg->flags &= ~(PG_BUSY|PG_WANTED);
UVM_PAGE_OWN(pg, NULL);
simple_unlock(&uobj->vmobjlock);
}