Egbert Eich writes:

> Exactly. If we want 32 and 64-bit pices to work together we need 32bit
> handles. If you pass a 64bit handle to a 32-bit client it's useless
> as mmap() cannot deal with a value in offset that doesn't fit into
> 32 bit. - at least unless we set -D_FILE_OFFSET_BITS=64. However this 
> may have other undesireable side effects.
> If we abandon the idea that handles might be real physical addresses
> then we can use handles that fit into 32 bit 

My point is that if we are going to use 32-bit handles, we have to
convert handles to 32 bits for 64-bit processes as well as 32-bit
processes.  I don't see your patch doing that.

Paul.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to