kailiu
5f5e5fc2e9
Revert atomic_size_t usage
...
Summary:
By disassemble the function, we found that the atomic variables do invoke the `lock` that locks the memory bus.
As a tradeoff, we protect the GetUsage by mutex and leave usage_ as plain size_t.
Test Plan: passed `cache_test`
Reviewers: dhruba
CC: leveldb
Differential Revision: https://reviews.facebook.net/D14667
2013-12-13 17:03:19 -08:00
..
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-11-18 11:40:16 -08:00
2013-11-12 20:05:28 -08:00
2013-10-23 14:38:52 -07:00
2013-12-11 00:15:14 -08:00
2013-10-16 17:48:41 -07:00
2013-11-16 11:21:34 +00:00
2013-12-13 14:21:59 -08:00
2013-12-13 17:03:19 -08:00
2013-10-16 17:48:41 -07:00
2013-11-08 16:34:32 -08:00
2013-11-08 16:34:32 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-11 00:15:14 -08:00
2013-12-11 00:15:14 -08:00
2013-12-11 00:15:14 -08:00
2013-10-16 17:48:41 -07:00
2013-12-04 23:00:33 -08:00
2013-11-16 23:44:39 -08:00
2013-11-07 11:31:56 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-11 00:15:14 -08:00
2013-12-06 14:15:42 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-11-12 21:22:32 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-04 16:22:54 -08:00
2013-11-01 13:59:14 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-11 00:15:14 -08:00
2013-10-16 17:48:41 -07:00
2013-11-21 17:40:39 -08:00
2013-11-07 11:31:56 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-11-20 20:49:23 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-06 16:51:35 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-12-03 12:42:15 -08:00
2013-11-25 10:38:15 -08:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2013-11-20 20:49:23 -08:00