linux_dsm_epyc7002/arch/avr32
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
..
boards gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
boot
configs avr32: update all default configurations 2015-02-09 15:27:45 +01:00
include sock: introduce SO_MEMINFO getsockopt 2017-03-22 11:18:58 -07:00
kernel sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
lib avr32: fix 'undefined reference to `___copy_from_user' 2016-09-18 07:26:26 -07:00
mach-at32ap AVR32-pio: Replace two seq_printf() calls by seq_puts() in pio_bank_show() 2016-12-12 09:05:46 +01:00
mm treewide: Constify most dma_map_ops structures 2017-01-24 12:23:35 -05:00
oprofile avr32: Fix build error caused by include file reshuffling 2017-03-07 08:35:48 +01:00
Kconfig printk/nmi: generic solution for safe printk in NMI 2016-05-20 17:58:30 -07:00
Kconfig.debug
Makefile