[Kst] [PATCH] Improve locking performance and reduce deadlocks

George Staikos staikos at kde.org
Wed Aug 16 13:44:05 CEST 2006

   Eli and I spent more time working on locking and we discovered that it's 
not necessary to lock as much as we have been doing.  This coincidentally 
fixes many deadlock scenarios (though not all of them), and at the same time 
appears to give a huge performance boost.  Patch is attached, but needs 
testing.  Please provide some feedback on this patch -without- 
--with-one-lock enabled.  I'd like to commit this ASAP.  I think this is the 
reason why deadlocks became more visible recently.  Meanwhile we're working 
on fixing the rest of the problem (removing recursive locking in the tree), 
and hopefully we'll have a patch for that next week.

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock.patch
Type: text/x-diff
Size: 5082 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20060816/f6ee0f83/attachment.bin 

More information about the Kst mailing list