linux/drivers/staging/zram
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
..
Kconfig staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
Makefile
zram_drv.c zram: use atomic64_xxx() to replace zram_stat64_xxx() 2013-06-06 12:12:21 -07:00
zram_drv.h zram: use atomic64_xxx() to replace zram_stat64_xxx() 2013-06-06 12:12:21 -07:00
zram_sysfs.c zram: use atomic64_xxx() to replace zram_stat64_xxx() 2013-06-06 12:12:21 -07:00
zram.txt zram: force disksize setting before using zram 2013-02-03 17:52:49 -08:00