aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/kern_util.h
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <[email protected]>2006-01-18 17:42:57 -0800
committerLinus Torvalds <[email protected]>2006-01-18 19:20:21 -0800
commitb6a2b13778873bd9edd0b4a7d24a7bd730369021 (patch)
treedc534ba13079c9fcecb2c02798c5021a26a95ae4 /arch/um/include/kern_util.h
parent71c8d4c3aad3132765d30b05dce98bb8a9508f02 (diff)
[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 <[email protected]> Cc: Jeff Dike <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/um/include/kern_util.h')
0 files changed, 0 insertions, 0 deletions