lkml.org 
[lkml]   [1999]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: Address spaces on a i386 - Getting Confused
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.073 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site