lkml.org 
[lkml]   [1998]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: __get_free_pages()
On Thu, 28 May 1998, Stephen Williams wrote:
> R.E.Wolff@BitWizard.nl said:
> > Talking about which, I'd say this GFP_DMA flag should be split into
> > GFP_DMA_1M
> > GFP_DMA_16M
> > GFP_DMA_4G
>
> Personally, I think the DMA flag should be lost and a number added to
> get-free-page that says how big the address can be. GFP_DMA_1M would
> be replaced with this parameter value being 10, 4G 32, etc.

This is the way it was until recently. This was changed because it
requires the driver-programmer to know the limit for DMA -- which varies
from arch to arch, possibly even from motherboard to motherboard within an
arch. Possibly a combo of the two would be a Good Thing, though I don't
really see why you would want to specify that the region returned needed
to be <nMB except for the DMA limit.

-=- James Mastros

--
True mastery is knowing enough to bullshit the rest.
-=- Me


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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