Re: [PATCH] reduce netfilte sk_buff enlargement
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-07-19 07:23:43
Also in:
netfilter-devel
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-07-19 07:23:43
Also in:
netfilter-devel
From: Jan Engelhardt <redacted> Date: Tue, 19 Jul 2005 09:18:38 +0200 (MEST)
quoted
but for now I'll eat that one-bit member.What is more important? Being as small as possible using bitfields, or being as fast as possible? (Usage of bitfields is some CPU overhead for their extraction)
I'm conjuring that we can store the state elsewhere, for example in the SKB ->cb[] control block. But that requires some verifications. Memory access overhead dwarfs whatever the cpu has to do to extract the bits.