Messages in this thread | | | Date | Fri, 21 Aug 2009 11:31:08 -0700 | From | Zach Brown <> | Subject | Re: [PATCH 5/6] aio: use lazy workqueues |
| |
> So far as I can tell, the aio workqueue isn't used for much these days. > We could probably get away with switching to keventd.
It's only used by drivers/usb/gadget to implement O_DIRECT reads by DMAing into kmalloc()ed memory and then performing the copy_to_user() in the retry thread's task context after it has assumed the submitting task's mm.
> Zach, isn't > someone working on a patch to get rid of all of the -EIOCBRETRY > infrastructure? That patch would probably make things clearer in this > area.
Yeah, a startling amount of fs/aio.c vanishes if we get rid of EIOCBRETRY. I'm puttering away at it, but I'll be on holiday next week so it'll be a while before anything emerges.
- z
| |