Re: [RFC][PATCH] bitfields API

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Pekka Enberg <penberg@...>, Alexey Dobriyan <adobriyan@...>, David Miller <davem@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
Date: Thursday, August 28, 2008 - 4:59 pm

On Thu, Aug 28, 2008 at 10:27 PM, Adrian Bunk <bunk@kernel.org> wrote:

You are correct :-)

Almost all the possible solutions (at least the feasible ones) are
trade-offs between false-positives and false-negatives.

So here we are trading a bunch of false-positive errors (a couple of
thousand for transferring a 1M file over ssh :-)) for detecting any
code that uses an uninitialized flag in struct skbuff. So in this case
it is more useful to hide reports about this single bit-field.


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] bitfields API, Vegard Nossum, (Thu Aug 28, 2:32 pm)
Re: [RFC][PATCH] bitfields API, Alexey Dobriyan, (Thu Aug 28, 2:40 pm)
Re: [RFC][PATCH] bitfields API, Vegard Nossum, (Thu Aug 28, 2:46 pm)
Re: [RFC][PATCH] bitfields API, Alexey Dobriyan, (Thu Aug 28, 3:05 pm)
Re: [RFC][PATCH] bitfields API, Vegard Nossum, (Thu Aug 28, 3:18 pm)
Re: [RFC][PATCH] bitfields API, Pekka Enberg, (Thu Aug 28, 3:07 pm)
Re: [RFC][PATCH] bitfields API, Pekka J Enberg, (Thu Aug 28, 3:02 pm)
Re: [RFC][PATCH] bitfields API, Vegard Nossum, (Thu Aug 28, 3:38 pm)
Re: [RFC][PATCH] bitfields API, Vegard Nossum, (Sat Aug 30, 4:28 am)
Re: [RFC][PATCH] bitfields API, Pekka Enberg, (Thu Aug 28, 2:40 pm)
Re: [RFC][PATCH] bitfields API, Adrian Bunk, (Thu Aug 28, 4:27 pm)
Re: [RFC][PATCH] bitfields API, Vegard Nossum, (Thu Aug 28, 4:59 pm)
Re: [RFC][PATCH] bitfields API, Pekka Enberg, (Thu Aug 28, 4:54 pm)