Re: [PATCH 06/13] drm/radeon: improve sub allocator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.04.2012 09:24, Michel Dänzer wrote:
On Fre, 2012-04-20 at 00:39 +0200, Christian König wrote:
Make the suballocator self containing to locking
and fix a overrun bug which happens with
allocations of different alignments.
Sounds like this should be split up into two changes. :)

Yeah you are probably right.

But wait a moment, thinking about it some more the overrun bug is actually a quite critical bug in mainline, cause it quickly leads to memory corruption if two users of the SA have different alignment restrictions. And hell, there currently is at least the IB pool (256 bytes) and the VM code (4096 bytes alignment) using it, so this could be responsible for some of the VM corruptions we are seeing!!!

Going to write a patch immediately,
Christian.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux