lkml.org 
[lkml]   [2014]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 30/50] mars: add new file drivers/block/mars/xio_bricks/xio_aio.c
Date
Thomas Schoebel-Theuer <tst@schoebel-theuer.de> writes:
> +
> +/************************ mmu faking (provisionary) ***********************/
> +
> +/* Kludge: our kernel threads will have no mm context, but need one
> + * for stuff like ioctx_alloc() / aio_setup_ring() etc
> + * which expect userspace resources.
> + * We fake one.
> + * TODO: factor out the userspace stuff from AIO such that
> + * this fake is no longer necessary.
> + * Even better: replace do_mmap() in AIO stuff by something
> + * more friendly to kernelspace apps.
> + */

That obviously has to be done before taking this patchkit any further.

AFAIK the kernel already has totally usable internal AIO interfaces.

-Andi

--
ak@linux.intel.com -- Speaking for myself only


\
 
 \ /
  Last update: 2014-07-03 22:41    [W:0.248 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site