| From | Andi Kleen <> | Subject | Re: [PATCH 30/50] mars: add new file drivers/block/mars/xio_bricks/xio_aio.c | Date | Thu, 03 Jul 2014 12:59:52 -0700 |
| |
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
|