Jiang Liu
da5cc7d338
zram: use atomic64_xxx() to replace zram_stat64_xxx()
...
Use atomic64_xxx() to replace open-coded zram_stat64_xxx().
Some architectures have native support of atomic64 operations,
so we can get rid of the spin_lock() in zram_stat64_xxx().
On the other hand, for platforms use generic version of atomic64
implement, it may cause an extra save/restore of the interrupt
flag. So it's a tradeoff.
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-06 12:12:21 -07:00
..
2013-06-04 15:59:23 -07:00
2013-06-05 15:29:07 -07:00
2013-05-21 19:59:50 -07:00
2013-06-03 12:35:53 -07:00
2013-05-22 15:31:39 -07:00
2013-06-06 12:09:17 -07:00
2013-05-13 17:50:05 -04:00
2013-06-03 12:26:18 -07:00
2013-05-30 21:09:57 +09:00
2013-05-22 15:28:30 -07:00
2013-05-13 18:08:16 -04:00
2013-06-03 12:29:55 -07:00
2013-05-13 13:39:31 -07:00
2013-04-11 13:07:05 -07:00
2013-05-21 10:30:10 -07:00
2013-05-17 15:54:57 -07:00
2013-05-30 20:59:47 +09:00
2013-06-05 15:31:16 -07:00
2013-05-21 10:30:10 -07:00
2013-05-27 10:54:33 +09:00
2013-05-30 21:02:07 +09:00
2013-06-06 11:48:50 -07:00
2013-03-11 09:47:13 -07:00
2013-06-06 11:44:39 -07:00
2013-05-16 15:37:50 -07:00
2013-03-14 15:03:56 -07:00
2013-05-27 10:54:33 +09:00
2013-02-21 17:40:58 -08:00
2013-06-05 15:35:59 -07:00
2013-03-25 11:02:55 -07:00
2013-06-04 16:03:22 -07:00
2013-05-16 16:01:46 -07:00
2013-01-26 00:37:24 +01:00
2013-05-05 00:15:43 -04:00
2013-05-30 20:46:29 +09:00
2013-06-06 11:57:16 -07:00
2013-03-11 09:49:55 -07:00
2013-06-03 12:15:34 -07:00
2013-05-16 16:01:46 -07:00
2013-02-11 10:10:33 -08:00
2013-05-16 15:37:49 -07:00
2013-03-18 16:19:45 -07:00
2013-05-30 21:03:32 +09:00
2013-05-13 18:02:28 -04:00
2013-03-11 09:23:43 -07:00
2013-05-22 15:35:52 -07:00
2013-05-16 15:37:49 -07:00
2013-05-13 18:02:30 -04:00
2013-05-21 19:57:39 -07:00
2013-05-13 13:39:31 -07:00
2013-05-13 17:34:22 -04:00
2013-05-30 20:46:26 +09:00
2013-05-30 21:09:05 +09:00
2013-06-03 12:32:00 -07:00
2013-05-17 15:05:07 -07:00
2012-09-17 14:50:33 -07:00
2013-05-13 14:01:26 -07:00
2013-05-30 20:55:53 +09:00
2013-05-20 08:21:04 -07:00
2013-06-06 12:12:21 -07:00
2013-05-21 10:30:10 -07:00
2013-06-03 12:45:03 -07:00
2013-06-03 12:45:03 -07:00