diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2006-01-19 02:42:57 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-19 04:20:21 +0100 |
commit | b6a2b13778873bd9edd0b4a7d24a7bd730369021 (patch) | |
tree | dc534ba13079c9fcecb2c02798c5021a26a95ae4 /Makefile | |
parent | [PATCH] uml: fix spinlock recursion and sleep-inside-spinlock in error path (diff) | |
download | linux-b6a2b13778873bd9edd0b4a7d24a7bd730369021.tar.xz linux-b6a2b13778873bd9edd0b4a7d24a7bd730369021.zip |
[PATCH] uml: sigio code - reduce spinlock hold time
In a previous patch I shifted an allocation to being atomic.
In this patch, a better but more intrusive solution is implemented, i.e. hold
the lock only when really needing it, especially not over pipe operations, nor
over the culprit allocation.
Additionally, while at it, add a missing kfree in the failure path, and make
sure that if we fail in forking, write_sigio_pid is -1 and not, say, -ENOMEM.
And fix whitespace, at least for things I was touching anyway.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions