Re: bus dma: a flag/quirk for page zero

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 11 Jan 2012 17:40:31 -0500
On Wednesday, January 11, 2012 2:56:47 pm Andriy Gapon wrote:
> on 11/01/2012 19:18 Andriy Gapon said the following:
> > Actually, I think that on x86 we don't have to do anything special for any memory
> > allocations that we do, including the bounce pages, as the page zero is excluded
> > from phys_avail and is not available for normal use.
> 
> After some additional thinking there is probably no reason to take advantage of
> this fact.  First, it would increase differences with other platforms.  Second,
> it would add a hidden dependency.  So it's better to be explicit here.

Agreed.

-- 
John Baldwin
Received on Thu Jan 12 2012 - 11:35:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC