Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev console(4), constty(4): Rip off the kernel lock, tak...
details: https://anonhg.NetBSD.org/src/rev/891650348fca
branches: trunk
changeset: 372011:891650348fca
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Oct 25 23:21:33 2022 +0000
description:
console(4), constty(4): Rip off the kernel lock, take three.
diffstat:
sys/dev/cons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7d2c2227599e -r 891650348fca sys/dev/cons.c
--- a/sys/dev/cons.c Tue Oct 25 23:21:13 2022 +0000
+++ b/sys/dev/cons.c Tue Oct 25 23:21:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cons.c,v 1.91 2022/10/25 23:21:13 riastradh Exp $ */
+/* $NetBSD: cons.c,v 1.92 2022/10/25 23:21:33 riastradh Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.91 2022/10/25 23:21:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.92 2022/10/25 23:21:33 riastradh Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -84,7 +84,7 @@
.d_mmap = nommap,
.d_kqfilter = cnkqfilter,
.d_discard = nodiscard,
- .d_flag = D_TTY
+ .d_flag = D_TTY|D_MPSAFE,
};
static struct kmutex cn_lock;
Home |
Main Index |
Thread Index |
Old Index