Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Don't take a mutex we already took...
details: https://anonhg.NetBSD.org/src/rev/49b57f3399bf
branches: trunk
changeset: 778130:49b57f3399bf
user: hannken <hannken%NetBSD.org@localhost>
date: Sat Mar 17 17:58:38 2012 +0000
description:
Don't take a mutex we already took 6 lines above.
diffstat:
sys/rump/librump/rumpkern/vm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 0e21471c1cea -r 49b57f3399bf sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c Sat Mar 17 17:39:44 2012 +0000
+++ b/sys/rump/librump/rumpkern/vm.c Sat Mar 17 17:58:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm.c,v 1.124 2012/03/05 13:43:56 para Exp $ */
+/* $NetBSD: vm.c,v 1.125 2012/03/17 17:58:38 hannken Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.124 2012/03/05 13:43:56 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.125 2012/03/17 17:58:38 hannken Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -1110,7 +1110,6 @@
rumpuser_dprintf("pagedaemoness: failed to reclaim "
"memory ... sleeping (deadlock?)\n");
cv_timedwait(&pdaemoncv, &pdaemonmtx, hz);
- mutex_enter(&pdaemonmtx);
}
}
Home |
Main Index |
Thread Index |
Old Index