On Thursday 05 April 2001 03:08 am, Mike Lincoln wrote:
> Could it be some buffer is some times allocated (word/page/whatever)
> aligned and sometimes not??  Tends to make a big difference on Intel..
>
> Mike

Well, I thought about this.  But looking at the source (it's pretty
straight forward) there doesn't seem to be a way for this to happen
since it's only a single thread.  Maybe if there's some kind of
race condition that could alter the sequence of malloc calls, but
otherwise everything will be allocated in exactly the same order.
Of course, this is just if the alignment change would be in the
user space side.

Even if it's not ordering allocations the same in kernel memory,
I would think that the drm code would always attempt to allocate
aligned blocks.

Nick

-- 
Nobody will ever need more than 640 kB RAM.
                 -- Bill Gates, 1983
Windows 98 requires 16 MB RAM.
                 -- Bill Gates, 1999
Nobody will ever need Windows 98.
                 -- logical conclusion

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to