link to the commit which reduced the amount of locking