[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090430.110549.62531937.davem@davemloft.net>
Date: Thu, 30 Apr 2009 11:05:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dvomlehn@...co.com
Cc: netdev@...r.kernel.org
Subject: Re: [Patch 1/1][RFC] NETDEV: Find network bugs by validating the
sk_buff state
From: David VomLehn <dvomlehn@...co.com>
Date: Thu, 30 Apr 2009 10:59:13 -0700
> Your description is general enough that I may misunderstand your idea,
> but it sounds like, if debugging was on, you'd be recording every call to
> alloc_skb and kfree_skb in your table. This would use a lot of memory.
> You can't simply have a circular list, because an sk_buff might be allocated
> for a very long time before being used and you would overwrite its entry.
> This would reduce the reliability of the information, which is the last thing
> you want in a debugging tool. So, I'm considering approaches without this
> drawback.
A developer trying to diagnose something is explicitly turning
this on then trying to reproduce. Since it's only on when wanted
we can either 1) make it really large or 2) allow the sysctl itself
to specify the table size.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists