Source-Changes-HG archive

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

[src/trunk]: src/sys XXX LOCKING XXX of allproc; DDB runs with interrupts blo...



details:   https://anonhg.NetBSD.org/src/rev/75c306eb0acf
branches:  trunk
changeset: 474849:75c306eb0acf
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 22 21:11:26 1999 +0000

description:
XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.

diffstat:

 sys/arch/sparc64/sparc64/db_interface.c |  3 ++-
 sys/ddb/db_xxx.c                        |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r cdbfa7b2b923 -r 75c306eb0acf sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c   Thu Jul 22 21:08:30 1999 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c   Thu Jul 22 21:11:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.20 1999/06/21 01:39:06 eeh Exp $ */
+/*     $NetBSD: db_interface.c,v 1.21 1999/07/22 21:12:19 thorpej Exp $ */
 
 /*
  * Mach Operating System
@@ -588,6 +588,7 @@
 {
        struct proc *p;
 
+       /* XXX LOCKING XXX */
        p = allproc.lh_first;
        while (p != 0) {
                if (p->p_stat) {
diff -r cdbfa7b2b923 -r 75c306eb0acf sys/ddb/db_xxx.c
--- a/sys/ddb/db_xxx.c  Thu Jul 22 21:08:30 1999 +0000
+++ b/sys/ddb/db_xxx.c  Thu Jul 22 21:11:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_xxx.c,v 1.5 1998/09/08 23:50:13 thorpej Exp $       */
+/*     $NetBSD: db_xxx.c,v 1.6 1999/07/22 21:11:26 thorpej Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -141,6 +141,7 @@
                break;
        }
 
+       /* XXX LOCKING XXX */
        pd = proclists;
  loop:
        for (p = LIST_FIRST(pd->pd_list); p != NULL;



Home | Main Index | Thread Index | Old Index