RE: Address spaces on a i386 - Getting Confused

Stephen C. Tweedie (sct@redhat.com)
Wed, 7 Apr 1999 00:30:46 +0100 (BST)


Hi,

On Mon, 5 Apr 1999 10:11:42 -0400 , Eric Lowe <ELowe@SYSTRAN.com> said:

> As for this, here's another idea. Instead of locking user buffers, another
> possibility would be to allocate with GFP_DMAPCI or similar to get suitable
> DMA'able kernel space memory (e.g. under 4GB). We agree this is already
> needed for when the kernel wants kernel memory for a device. Then, a
> standard syscall (e.g. my proposed dmamalloc()) could be used to map this
> memory into userland.

That is exactly the sort of thing that the kiobuf mechanism used in the
latest raw IO patches will allow you to do. Have you looked at
FreeBSD's IO-Lite? Picture IO-Lite with mmap-able iobufs to get an idea
of where this is going.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/