Thread (11 messages) flat view 11 messages, 5 authors, 2015-10-28

Re: [PATCH net-next] sock: don't enable netstamp for af_unix sockets

From: Hannes Frederic Sowa <hidden>
Date: 2015-10-26 13:32:59

Hello,

On Mon, Oct 26, 2015, at 14:19, Richard Cochran wrote:
On Mon, Oct 26, 2015 at 01:51:37PM +0100, Hannes Frederic Sowa wrote:
quoted
netstamp_needed is toggled for all socket families if they request
timestamping. But some protocols don't need the lower-layer timestamping
code at all. This patch starts disabling it for af-unix.
What problem is this patch trying to solve?
netstamp_needed is a static-key which enables timestamping code in the
networking stack receive functions for every packet, while it is not
needed for AF_UNIX/LOCAL. So it is merely a small performance
enhancement.

Bye,
Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help