net: add LINUX_MIB_PFMEMALLOCDROP counter
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 04:47:59 +0000 (20:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 04:34:19 +0000 (23:34 -0500)
commit8fe809a992639b2013c0d8da2ba55cdea28a959a
tree6f6fd0428d83432fa0b469773c3b9690cb117d2e
parent661091093918657ab544fb8ca91a5ab172a986dc
net: add LINUX_MIB_PFMEMALLOCDROP counter

Debugging issues caused by pfmemalloc is often tedious.

Add a new SNMP counter to more easily diagnose these problems.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Josef Bacik <jbacik@fb.com>
Acked-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/snmp.h
net/core/filter.c
net/ipv4/proc.c