Source-Changes-HG archive

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

[src/ad-namecache]: src/sys/kern Back out previous.



details:   https://anonhg.NetBSD.org/src/rev/74a2372fb124
branches:  ad-namecache
changeset: 850541:74a2372fb124
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Jan 23 12:17:08 2020 +0000

description:
Back out previous.

diffstat:

 sys/kern/kern_synch.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 7a9acf46e914 -r 74a2372fb124 sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c     Wed Jan 22 12:10:46 2020 +0000
+++ b/sys/kern/kern_synch.c     Thu Jan 23 12:17:08 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_synch.c,v 1.334.2.2 2020/01/19 21:08:29 ad Exp $  */
+/*     $NetBSD: kern_synch.c,v 1.334.2.3 2020/01/23 12:17:08 ad Exp $  */
 
 /*-
  * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2009, 2019
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.334.2.2 2020/01/19 21:08:29 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.334.2.3 2020/01/23 12:17:08 ad Exp $");
 
 #include "opt_kstack.h"
 #include "opt_dtrace.h"
@@ -658,9 +658,6 @@
                /* We're down to only one lock, so do debug checks. */
                LOCKDEBUG_BARRIER(l->l_mutex, 1);
 
-               /* Disable spinning on any R/W locks that we hold. */
-               rw_switch();
-
                /* Count the context switch. */
                CPU_COUNT(CPU_COUNT_NSWTCH, 1);
                l->l_ncsw++;



Home | Main Index | Thread Index | Old Index