[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87bnt6tdqf.fsf@tassilo.jf.intel.com>
Date: Thu, 03 Jul 2014 12:59:52 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Thomas Schoebel-Theuer <tst@...oebel-theuer.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 30/50] mars: add new file drivers/block/mars/xio_bricks/xio_aio.c
Thomas Schoebel-Theuer <tst@...oebel-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@...ux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists