linux/arch/ia64
Josh Hunt a2d133b1d4 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 <johunt@akamai.com>
Reviewed-by: Jason Baron <jbaron@akamai.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-22 11:18:58 -07:00
..
configs
dig
hp
include sock: introduce SO_MEMINFO getsockopt 2017-03-22 11:18:58 -07:00
kernel sched/core: Remove unused prefetch_stack() 2017-03-03 01:45:38 +01:00
lib
mm
oprofile
pci
scripts
sn
uv
install.sh
Kconfig
Kconfig.debug
Makefile
module.lds