Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys mi_userret: disable an assertion for __HAVE_PREEMPTI...
details: https://anonhg.NetBSD.org/src/rev/1891e2d0e218
branches: trunk
changeset: 762701:1891e2d0e218
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Feb 25 22:37:12 2011 +0000
description:
mi_userret: disable an assertion for __HAVE_PREEMPTION case as it's racy.
diffstat:
sys/sys/userret.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 8bc2c20cc6e6 -r 1891e2d0e218 sys/sys/userret.h
--- a/sys/sys/userret.h Fri Feb 25 22:36:10 2011 +0000
+++ b/sys/sys/userret.h Fri Feb 25 22:37:12 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: userret.h,v 1.21 2011/02/17 19:29:41 matt Exp $ */
+/* $NetBSD: userret.h,v 1.22 2011/02/25 22:37:12 yamt Exp $ */
/*-
* Copyright (c) 1998, 2000, 2003, 2006, 2008 The NetBSD Foundation, Inc.
@@ -81,7 +81,9 @@
#endif
KASSERT(l->l_blcnt == 0);
+#ifndef __HAVE_PREEMPTION
KASSERT(curcpu()->ci_biglock_count == 0);
+#endif
/*
* Handle "exceptional" events: pending signals, stop/exit actions,
Home |
Main Index |
Thread Index |
Old Index