Bug 156757
Summary: | Consider more alternative locking protocols for WTF::Lock | ||
---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ggaren |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All |
Filip Pizlo
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |