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.
details: https://anonhg.NetBSD.org/src/rev/4b62851d96dc
branches: trunk
changeset: 371720:4b62851d96dc
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Oct 03 19:57:25 2022 +0000
description:
console(4), constty(4): Rip off the kernel lock.
diffstat:
sys/dev/cons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8059b7e0f7e5 -r 4b62851d96dc sys/dev/cons.c
--- a/sys/dev/cons.c Mon Oct 03 19:57:05 2022 +0000
+++ b/sys/dev/cons.c Mon Oct 03 19:57:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cons.c,v 1.83 2022/10/03 19:57:05 riastradh Exp $ */
+/* $NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.83 2022/10/03 19:57:05 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 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