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.76 (requested by enami in ti...



details:   https://anonhg.NetBSD.org/src/rev/df74a5eb07a1
branches:  netbsd-1-6
changeset: 527675:df74a5eb07a1
user:      tv <tv%NetBSD.org@localhost>
date:      Sat Jun 01 22:44:00 2002 +0000

description:
Pull up revision 1.76 (requested by enami in ticket #114):
Add missing pageq lock while uvm_pagefree() is called (either directly
or indirectly).  Reviewed by chuq.

diffstat:

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

diffs (26 lines):

diff -r a4040a56f36c -r df74a5eb07a1 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Sat Jun 01 22:43:35 2002 +0000
+++ b/sys/uvm/uvm_page.c        Sat Jun 01 22:44:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.c,v 1.75 2002/05/15 00:19:12 enami Exp $      */
+/*     $NetBSD: uvm_page.c,v 1.75.4.1 2002/06/01 22:44:00 tv Exp $     */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.75 2002/05/15 00:19:12 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.75.4.1 2002/06/01 22:44:00 tv Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1306,6 +1306,7 @@
  * => pages must either all belong to the same object, or all belong to anons.
  * => if pages are object-owned, object must be locked.
  * => if pages are anon-owned, anons must be locked.
+ * => caller must lock page queues if pages may be released.
  */
 
 void



Home | Main Index | Thread Index | Old Index