Mateusz Guzik a27815330c cache: improve scalability by introducing bucket locks
An array of bucket locks is added.

All modifications still require the global cache_lock to be held for
writing. However, most readers only need the relevant bucket lock and in
effect can run concurrently to the writer as long as they use a
different lock. See the added comment for more details.

This is an intermediate step towards removal of the global lock.

Reviewed by:	kib
Tested by:	pho
2016-09-10 16:29:53 +00:00
..
2016-06-09 18:27:41 +00:00
2016-02-23 23:37:10 +00:00
2016-07-27 11:40:06 +00:00
2016-08-30 19:26:07 +00:00
2016-07-26 17:23:49 +00:00
2016-04-29 22:15:33 +00:00
2016-04-14 17:07:26 +00:00
2016-09-10 09:00:12 +00:00
2016-08-17 10:14:22 +00:00
2016-08-11 07:58:23 +00:00