kernel_optimize_test/fs/exofs
Peter Zijlstra 2c935bc572 locking/atomic, kref: Add kref_read()
Since we need to change the implementation, stop exposing internals.

Provide kref_read() to read the current reference count; typically
used for debug messages.

Kills two anti-patterns:

	atomic_read(&kref->refcount)
	kref->refcount.counter

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-01-14 11:37:18 +01:00
..
BUGS
common.h
dir.c fs: exofs: print a hex number after a 0x prefix 2016-10-27 18:43:43 -07:00
exofs.h
file.c
inode.c exofs: don't mess with simple_write_{begin,end} 2016-12-10 14:25:19 -05:00
Kbuild
Kconfig
Kconfig.ore
namei.c
ore_raid.c
ore_raid.h
ore.c
super.c
sys.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00