Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Put back the delay hooks which were deleted before....
details: https://anonhg.NetBSD.org/src/rev/fed23a7b6e2a
branches: trunk
changeset: 1007215:fed23a7b6e2a
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 10 22:11:09 2020 +0000
description:
Put back the delay hooks which were deleted before. Without them VirtualBox
spins out.
diffstat:
sys/kern/kern_lock.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 6d09bdf3607c -r fed23a7b6e2a sys/kern/kern_lock.c
--- a/sys/kern/kern_lock.c Mon Feb 10 21:54:26 2020 +0000
+++ b/sys/kern/kern_lock.c Mon Feb 10 22:11:09 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lock.c,v 1.168 2020/01/27 21:05:43 ad Exp $ */
+/* $NetBSD: kern_lock.c,v 1.169 2020/02/10 22:11:09 christos Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2008, 2009, 2020 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.168 2020/01/27 21:05:43 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.169 2020/02/10 22:11:09 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_lockdebug.h"
@@ -243,6 +243,8 @@
if (!start_init_exec)
_KERNEL_LOCK_ABORT("spinout");
}
+ SPINLOCK_BACKOFF_HOOK;
+ SPINLOCK_SPIN_HOOK;
#endif
}
s = splvm();
Home |
Main Index |
Thread Index |
Old Index