Since I did not get any responses on my previous post, I'm posting my queries here:
i) From the description of Lock revamp project, I understand that the locking design will have to be changed to reduce locking contention. Does this mean that this will involve development of a new customized locking library or mechanism, using basic constructs such as futexes, which can be used along with the pthread libraries? Or is it fine if we identify parts of the code which may not necessarily need locks (not sure if there are any), and move them into non-critical section part of the code or may be even incorporate thread local data (to get around this problem)?
ii) I haven't gone through the entire code yet, but I did see linked lists being used in a few places. Does the implementation of a lock free linked lists sound feasible for the project or is it too complicated?
Any responses to my queries would be much appreciated.
Thanks!