Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/uvm Pull up revision 1.77 (requested by chs in tick...



details:   https://anonhg.NetBSD.org/src/rev/58a9371da817
branches:  netbsd-1-6
changeset: 529569:58a9371da817
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 30 14:07:13 2002 +0000

description:
Pull up revision 1.77 (requested by chs in ticket #770):
  Be sure that the page we allocate to break a loan is put
  on a paging queue.  Fixes PR#18037.

diffstat:

 sys/uvm/uvm_fault.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 631f62a146b9 -r 58a9371da817 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Sat Nov 30 14:01:10 2002 +0000
+++ b/sys/uvm/uvm_fault.c       Sat Nov 30 14:07:13 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.76 2002/03/25 01:56:48 chs Exp $       */
+/*     $NetBSD: uvm_fault.c,v 1.76.4.1 2002/11/30 14:07:13 he Exp $    */
 
 /*
  *
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.76 2002/03/25 01:56:48 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.76.4.1 2002/11/30 14:07:13 he Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1097,6 +1097,7 @@
                                anon->u.an_page->uanon = NULL;
                                /* in case we owned */
                                anon->u.an_page->pqflags &= ~PQ_ANON;
+                               uvm_pageactivate(pg);
                                uvm_unlock_pageq();
                                if (uobj) {
                                        simple_unlock(&uobj->vmobjlock);



Home | Main Index | Thread Index | Old Index