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 Use uniprocessor-optimized locking...
details: https://anonhg.NetBSD.org/src/rev/9beef8ba69bf
branches: trunk
changeset: 327734:9beef8ba69bf
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Mar 15 15:22:42 2014 +0000
description:
Use uniprocessor-optimized locking in RUMP_LOCKS_UP=yes (default: no)
diffstat:
sys/rump/librump/rumpkern/Makefile.rumpkern | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 72449cc89502 -r 9beef8ba69bf sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern Sat Mar 15 15:22:37 2014 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern Sat Mar 15 15:22:42 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rumpkern,v 1.140 2014/03/13 01:34:06 pooka Exp $
+# $NetBSD: Makefile.rumpkern,v 1.141 2014/03/15 15:22:42 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@@ -38,8 +38,11 @@
# Multiprocessor or uniprocessor locking. TODO: select right
# locking at runtime.
+.if ${RUMP_LOCKS_UP:Uno} == "yes"
+SRCS+= locks_up.c
+.else
SRCS+= locks.c
-#SRCS+= locks_up.c
+.endif
MKREPRO?=no
Home |
Main Index |
Thread Index |
Old Index