Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Just say no to interrupt-safe maps.



details:   https://anonhg.NetBSD.org/src/rev/f82b81cf1bd7
branches:  trunk
changeset: 473426:f82b81cf1bd7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jun 03 00:05:45 1999 +0000

description:
Just say no to interrupt-safe maps.

diffstat:

 sys/uvm/uvm_loan.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e74ff9f63328 -r f82b81cf1bd7 sys/uvm/uvm_loan.c
--- a/sys/uvm/uvm_loan.c        Wed Jun 02 23:26:21 1999 +0000
+++ b/sys/uvm/uvm_loan.c        Thu Jun 03 00:05:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_loan.c,v 1.16 1999/05/27 21:50:03 thorpej Exp $    */
+/*     $NetBSD: uvm_loan.c,v 1.17 1999/06/03 00:05:45 thorpej Exp $    */
 
 /*
  *
@@ -225,6 +225,11 @@
        void **output;
        int rv;
 
+#ifdef DIAGNOSTIC
+       if (map->flags & VM_MAP_INTRSAFE)
+               panic("uvm_loan: intrsafe map");
+#endif
+
        /*
         * ensure that one and only one of the flags is set
         */



Home | Main Index | Thread Index | Old Index