android_kernel_motorola_sm6225/arch/um/os-Linux/skas
Jeff Dike 42a359e31a uml: SIGIO support cleanup
Cleanup of the SIGWINCH support.

Some code and comment reformatting.

The stack used for SIGWINCH threads was leaked.  This is now fixed by storing
it with the pid and other information, and freeing it when the thread is
killed.

If something goes wrong with a WIGWINCH thread, and this is discovered in the
interrupt handler, the winch record would leak.  It is now freed, except that
the IRQ isn't freed.  This is hard to do from interrupt context.  This has the
side-effect that the IRQ system maintains a reference to the freed structure,
but that shouldn't cause a problem since the descriptor is disabled.

register_winch_irq is now much better about cleaning up after an
initialization failure.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:38 -07:00
..
Makefile [PATCH] uml: move libc-dependent skas process handling 2006-01-18 19:20:19 -08:00
mem.c uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
process.c uml: SIGIO support cleanup 2007-07-16 09:05:38 -07:00
trap.c uml: more page fault path trimming 2007-05-07 12:13:04 -07:00