|
|
|
|
|
by hackworks
2360 days ago
|
|
NetApp has a very interesting implementation RW spin lock inside the kernel. I tried optimizing to make it more fair for writers by introducing a single variable that would be check in each iteration. The additional delay it added for checking the state resulted in deadlock timer triggering a dump! Hence, checking a variable is very expensive. |
|
https://people.csail.mit.edu/mareko/spaa09-scalablerwlocks.p...