On Sad, 2004-08-21 at 16:00, Michel DÃnzer wrote: > On Fri, 2004-08-20 at 22:59 -0700, Jon Smirl wrote: > > I don't believe the DRM drivers are holding any global kernel locks > > when they do wait_for_fifo. Any locks held would be internal to DRM and > > can be changed if needed. > > Keep in mind that any ioctl function runs with the Big Kernel Lock held.
The BKL is dropped whenever you sleep and retaken on resume anyway. That isn't a problem. Putting a need_resched() test in the loop will get you "fair" behaviour and in the single gaming app case won't generally trigger anyway. Alan ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel