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
..
auth_gss
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
xprtrdma
locking/atomic, kref: Add kref_read()
2017-01-14 11:37:18 +01:00
addr.c
auth.c
sunrpc: replace generic auth_cred hash with auth-specific function
2016-09-30 15:47:47 -04:00
auth_generic.c
NFS client updates for Linux 4.9
2016-10-13 21:28:20 -07:00
auth_null.c
sunrpc: move NO_CRKEY_TIMEOUT to the auth->au_flags
2016-07-19 16:23:24 -04:00
auth_unix.c
NFS client updates for Linux 4.9
2016-10-13 21:28:20 -07:00
backchannel_rqst.c
SUNRPC: Refactor rpc_xdr_buf_init()
2016-09-19 13:08:37 -04:00
cache.c
locking/atomic, kref: Add kref_read()
2017-01-14 11:37:18 +01:00
clnt.c
sunrpc: Don't engage exponential backoff when connection attempt is rejected.
2016-12-01 17:40:41 -05:00
debugfs.c
Kconfig
Makefile
SUNRPC: Add a structure to track multiple transports
2016-02-05 18:48:54 -05:00
netns.h
netns: make struct pernet_operations::id unsigned int
2016-11-18 10:59:15 -05:00
rpc_pipe.c
fs: Replace CURRENT_TIME with current_time() for inode timestamps
2016-09-27 21:06:21 -04:00
rpcb_clnt.c
SUNRPC: Use the multipath iterator to assign a transport to each task
2016-02-05 18:48:55 -05:00
sched.c
SUNRPC: Separate buffer pointers for RPC Call and Reply messages
2016-09-19 13:08:37 -04:00
socklib.c
sunrpc: do not pull udp headers on receive
2016-04-11 15:31:33 -04:00
stats.c
SUNRPC: Proper metric accounting when RPC is not transmitted
2016-11-29 16:45:44 -05:00
sunrpc.h
sunrpc_syms.c
netns: make struct pernet_operations::id unsigned int
2016-11-18 10:59:15 -05:00
svc.c
svcauth_gss: Close connection when dropping an incoming message
2016-11-30 17:31:11 -05:00
svc_xprt.c
locking/atomic, kref: Add kref_read()
2017-01-14 11:37:18 +01:00
svcauth.c
sunrpc: use DEFINE_SPINLOCK()
2016-12-06 14:18:30 -05:00
svcauth_unix.c
cred: simpler, 1D supplementary groups
2016-10-07 18:46:30 -07:00
svcsock.c
ktime: Get rid of the union
2016-12-25 17:21:22 +01:00
sysctl.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
timer.c
xdr.c
SUNRPC: Fix setting of buffer length in xdr_set_next_buffer()
2016-09-22 17:17:47 -04:00
xprt.c
sunrpc: Don't engage exponential backoff when connection attempt is rejected.
2016-12-01 17:40:41 -05:00
xprtmultipath.c
SUNRPC search xprt switch for sockaddr
2016-09-19 13:08:36 -04:00
xprtsock.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-11-15 10:54:36 -05:00