Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 21:56:47 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: bus dma: a flag/quirk for page zero
Message-ID:  <4F0DE97F.60208@FreeBSD.org>
In-Reply-To: <4F0DC476.8050509@FreeBSD.org>
References:  <4F0C9D14.60705@FreeBSD.org> <201201111001.04724.jhb@freebsd.org> <4F0DC476.8050509@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0DE97F.60208>