Re: [Beignet] Preventing zero GPU virtual address allocation

Chris Wilson
2015-03-06T08:39:19Z

On Fri, Mar 06, 2015 at 02:11:18AM +0000, Zou, Nanhai wrote:
> I don't understand why we need a complex solution when there is already a simple solution with patch.
> What is the drawback of reserving page 0?
> Before we going to that complex solution, could we just reserve page zero?
> It is simple and straight forward.

Because it is a nonsense ABI constraint. If you want the equivalent
of MAP_FIXED, we should give you MAP_FIXED.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre