lkml.org 
[lkml]   [1999]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Address spaces on a i386 - Getting Confused
Stephen C. Tweedie wrote:
>
> Hi,
>
> On Thu, 1 Apr 1999 09:11:55 -0500 , Eric Lowe <ELowe@SYSTRAN.com> said:
>
> > How about a dmamalloc() function?
>
> In the kernel, use GFP_DMA for dma-capable, physically contiguous memory
> (only for ISA dma right now, as that is limited to 16MB; PCI can always
> dma all of physical memory right now, as we don't support more than 4G
> physical ram on Intel). In user space, use valloc() to get page-aligned
> memory.

That's a really bad assumption. There WILL eventually be a time when
this is no longer true, so something should be done now to head this
off. Adding a GFP_DMAPCI or whatever, even if it only currently maps to
another value, will make life a whole lot easier when we start seeing
systems with >4G memory with 32-bit PCI cards. And what about other
arches besides Intel?

--

Brian Gerst

-
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.090 / U:24.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site