Module Name: src Committed By: riastradh Date: Tue Oct 4 05:19:31 UTC 2022
Modified Files: src/sys/dev: cons.c Log Message: Revert "console(4), constty(4): Rip off the kernel lock." Needs more testing. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/cons.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/cons.c diff -u src/sys/dev/cons.c:1.84 src/sys/dev/cons.c:1.85 --- src/sys/dev/cons.c:1.84 Mon Oct 3 19:57:25 2022 +++ src/sys/dev/cons.c Tue Oct 4 05:19:30 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp $ */ +/* $NetBSD: cons.c,v 1.85 2022/10/04 05:19:30 riastradh Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.85 2022/10/04 05:19:30 riastradh Exp $"); #include <sys/param.h> #include <sys/proc.h> @@ -84,7 +84,7 @@ const struct cdevsw cons_cdevsw = { .d_mmap = nommap, .d_kqfilter = cnkqfilter, .d_discard = nodiscard, - .d_flag = D_TTY|D_MPSAFE, + .d_flag = D_TTY }; static struct kmutex cn_lock;