[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170322.112024.157764600434310885.davem@davemloft.net>
Date: Wed, 22 Mar 2017 11:20:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: johunt@...mai.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, jbaron@...mai.com,
ckuiper@...gle.com, pgynther@...gle.com
Subject: Re: [PATCH] sock: introduce SO_MEMINFO getsockopt
From: Josh Hunt <johunt@...mai.com>
Date: Mon, 20 Mar 2017 15:22:03 -0400
> 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@...mai.com>
> Reviewed-by: Jason Baron <jbaron@...mai.com>
> Acked-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks.
Powered by blists - more mailing lists