Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/dev Disable aio usage in thunkbus_ld since...
details: https://anonhg.NetBSD.org/src/rev/5a3faf553d2f
branches: trunk
changeset: 771937:5a3faf553d2f
user: reinoud <reinoud%NetBSD.org@localhost>
date: Fri Dec 09 17:21:45 2011 +0000
description:
Disable aio usage in thunkbus_ld since mixing ucontext_t and threads is a NONO
according to the manpage.
Why is AIO using a pthread?
diffstat:
sys/arch/usermode/dev/ld_thunkbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bc8d07cdd071 -r 5a3faf553d2f sys/arch/usermode/dev/ld_thunkbus.c
--- a/sys/arch/usermode/dev/ld_thunkbus.c Fri Dec 09 17:20:21 2011 +0000
+++ b/sys/arch/usermode/dev/ld_thunkbus.c Fri Dec 09 17:21:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_thunkbus.c,v 1.19 2011/11/27 21:22:28 reinoud Exp $ */
+/* $NetBSD: ld_thunkbus.c,v 1.20 2011/12/09 17:21:45 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.19 2011/11/27 21:22:28 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.20 2011/12/09 17:21:45 reinoud Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -50,7 +50,7 @@
static int ld_thunkbus_lddump(struct ld_softc *, void *, int, int);
static int ld_thunkbus_ldflush(struct ld_softc *, int);
-#define LD_USE_AIO
+//#define LD_USE_AIO
#ifdef LD_USE_AIO
static void ld_thunkbus_sig(int, siginfo_t *, void *);
Home |
Main Index |
Thread Index |
Old Index