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-05-23 09:27:08 -07:00
2013-05-17 14:31:05 -04:00
2013-05-23 18:24:10 -07:00
2013-05-27 10:54:33 +09:00
2013-05-20 13:38:14 -07:00
2013-05-23 09:26:32 -07:00
2013-05-24 16:27:37 -07:00
2013-05-23 09:23:32 -07:00