Module Name: src Committed By: reinoud Date: Fri Dec 9 17:21:45 UTC 2011
Modified Files: src/sys/arch/usermode/dev: ld_thunkbus.c Log Message: 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? To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/dev/ld_thunkbus.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/arch/usermode/dev/ld_thunkbus.c diff -u src/sys/arch/usermode/dev/ld_thunkbus.c:1.19 src/sys/arch/usermode/dev/ld_thunkbus.c:1.20 --- src/sys/arch/usermode/dev/ld_thunkbus.c:1.19 Sun Nov 27 21:22:28 2011 +++ src/sys/arch/usermode/dev/ld_thunkbus.c Fri Dec 9 17:21:45 2011 @@ -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 <jmcne...@invisible.ca> @@ -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_ldstart(struct ld 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 *);