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
..
aoe
aoe: fix crash in page count manipulation
2016-11-12 08:27:07 -07:00
drbd
locking/atomic, kref: Add kref_read()
2017-01-14 11:37:18 +01:00
mtip32xx
block: mtip32xx: set error code on failure
2016-12-01 08:01:14 -07:00
paride
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
rsxx
xen-blkback
xen: features and fixes for 4.10 rc0
2016-12-13 16:07:55 -08:00
zram
zram: support BDI_CAP_STABLE_WRITES
2017-01-10 18:31:55 -08:00
amiflop.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
ataflop.c
brd.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
cciss.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
cciss.h
cciss_cmd.h
cciss_scsi.c
scsi: cciss: replace custom function to hexdump
2016-11-08 17:29:57 -05:00
cciss_scsi.h
cryptoloop.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
DAC960.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
DAC960.h
floppy.c
block: floppy: use bio_add_page()
2016-11-22 08:57:55 -07:00
hd.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
Kconfig
pktcdvd: mark as unmaintained and deprecated
2016-11-21 09:33:17 -07:00
loop.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
loop.h
Makefile
mg_disk.c
nbd.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
null_blk.c
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
osdblk.c
pktcdvd.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
ps3disk.c
ps3vram.c
rbd.c
locking/atomic, kref: Add kref_read()
2017-01-14 11:37:18 +01:00
rbd_types.h
skd_main.c
skd_main: drop duplicate header scatterlist.h
2016-11-18 07:44:21 -07:00
skd_s1120.h
smart1,2.h
sunvdc.c
swim.c
swim3.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
swim_asm.S
sx8.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
umem.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
umem.h
virtio_blk.c
locking/atomic, kref: Add kref_read()
2017-01-14 11:37:18 +01:00
xen-blkfront.c
xen: features and fixes for 4.10 rc0
2016-12-13 16:07:55 -08:00
xsysace.c
z2ram.c