Bug 156757

Summary: Consider more alternative locking protocols for WTF::Lock
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ggaren
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Filip Pizlo
Reported 2016-04-19 12:16:25 PDT
The current protocol errs on the side of fairness by having the slow path release the lock while the queue lock is held. This reduces barging opportunities. We should consider other futex-based protocols. For example, it might be interesting to see how Linux's pthread_mutex_lock algorithm would work in WTF::Lock.
Attachments
Note You need to log in before you can comment on or make changes to this bug.