aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorJosh Hunt <[email protected]>2017-03-20 15:22:03 -0400
committerDavid S. Miller <[email protected]>2017-03-22 11:18:58 -0700
commita2d133b1d465016d0d97560b11f54ba0ace56d3e (patch)
tree0c41151a6860eb295d7919e22cce1dd5a8b0aea9 /kernel/locking/mutex-debug.c
parentc7cd4c9bf8df87027e739fe66d0a55951f6875d8 (diff)
sock: introduce SO_MEMINFO getsockopt
Allows reading of SK_MEMINFO_VARS via socket option. This way an application can get all meminfo related information in single socket option call instead of multiple calls. Adds helper function, sk_get_meminfo(), and uses that for both getsockopt and sock_diag_put_meminfo(). Suggested by Eric Dumazet. Signed-off-by: Josh Hunt <[email protected]> Reviewed-by: Jason Baron <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions