linux_dsm_epyc7002/arch/xtensa
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
..
boot Xtensa improvements for v4.11: 2017-03-03 16:17:55 -08:00
configs
include sock: introduce SO_MEMINFO getsockopt 2017-03-22 11:18:58 -07:00
kernel Xtensa improvements for v4.11: 2017-03-03 16:17:55 -08:00
lib
mm xtensa: migrate exception table users off module.h and onto extable.h 2017-01-24 12:41:46 -05:00
oprofile
platforms Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
variants
Kconfig xtensa: enable HAVE_DMA_CONTIGUOUS 2016-12-15 10:41:50 -08:00
Kconfig.debug
Makefile xtensa: clean up bootable image build targets 2017-03-01 12:32:50 -08:00