On Tue, Oct 16, 2012 at 12:33:42PM -0400, Jeff Moyer wrote: > Benjamin LaHaise <bcrl@xxxxxxxxx> writes: > > Canellation *cannot* be removed. If you remove cancellation, processes > > with outstanding ios at exit() time will never release their resources. > > Please explain. wait_for_active_reqs will wait until all outstanding > I/O has completed before returning. What resources do you think will be > left? Not all IOs will complete within a bounded amount of time. Think of things like pipes, network send/receive, even the USB gadget code. It is not acceptable to block process exit until these IOs complete, as they may never complete. The aio core *must* support cancellation. That said, the how of such things can and should be improved. -- "Thought is the essence of where you are now." -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html