* - uml-aio-deadlock-avoidance.patch removed from -mm tree
@ 2007-05-08 0:07 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-05-08 0:07 UTC (permalink / raw)
To: jdike, blaisorblade, jdike, mm-commits
The patch titled
uml: aIO deadlock avoidance
has been removed from the -mm tree. Its filename was
uml-aio-deadlock-avoidance.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: uml: aIO deadlock avoidance
From: Jeff Dike <jdike@addtoit.com>
Allow deadlocks to be avoided in the AIO code by setting the pipe to the I/O
thread non-blocking.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/um/os-Linux/aio.c | 5 +++++
1 file changed, 5 insertions(+)
diff -puN arch/um/os-Linux/aio.c~uml-aio-deadlock-avoidance arch/um/os-Linux/aio.c
--- a/arch/um/os-Linux/aio.c~uml-aio-deadlock-avoidance
+++ a/arch/um/os-Linux/aio.c
@@ -221,6 +221,11 @@ static int init_aio_24(void)
aio_req_fd_w = fds[0];
aio_req_fd_r = fds[1];
+
+ err = os_set_fd_block(aio_req_fd_w, 0);
+ if(err)
+ goto out_close_pipe;
+
err = run_helper_thread(not_aio_thread, NULL,
CLONE_FILES | CLONE_VM | SIGCHLD, &stack, 0);
if(err < 0)
_
Patches currently in -mm which might be from jdike@addtoit.com are
origin.patch
uml-hostfs-style-fixes.patch
uml-an-idle-system-should-have-zero-load-average.patch
remove-tas.patch
x86-create-asm-cmpxchgh.patch
uml-network-and-pcap-cleanup.patch
uml-pcap-devices-should-get-macs-from-command-line.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-08 0:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-08 0:07 - uml-aio-deadlock-avoidance.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.