lkml.org 
[lkml]   [2009]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-08-21 20:35    [W:0.117 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site