| To: | jamal <hadi@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics) |
| From: | Thomas Graf <tgraf@xxxxxxx> |
| Date: | Tue, 28 Sep 2004 15:33:34 +0200 |
| Cc: | Harald Welte <laforge@xxxxxxxxxxxx>, Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Stephen Hemminger <shemminger@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, herbert@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <1096375700.8659.235.camel@xxxxxxxxxxxxxxxx> |
| References: | <20040925005623.2faf8faf.davem@xxxxxxxxxxxxx> <E1CBu70-00010X-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20040927121403.767e2308.davem@xxxxxxxxxxxxx> <20040927222613.GE3236@xxxxxxxxxxxxxxxxxxxxxxx> <20040927160636.7741d973.davem@xxxxxxxxxxxxx> <1096327658.1729.19.camel@xxxxxxxxxxxxxxxxxxxxx> <16729.9326.93269.422940@xxxxxxxxxxxx> <20040928111906.GB29961@xxxxxxxxxxxxxxxxxxxxxxx> <1096375700.8659.235.camel@xxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
> Speaking of generic stats; i have a patch netlink ready which may need > some extensions. I did post it a while back on netdev but didnt get > feedback. The code looks good and I couldn't spot any errors but I'm not sure if the locking in gen_copy_[x]stats is a good thing. Shouldn't that be done earlier by the caller? This prevents corruption but it allows duplicated TLVs in an skb. I suggest to make the caller have a lock on his data and only allow one dumper at the same time until the dump is complete, or at least provide a lockless variant for callers doing the locking on their own. |
| Previous by Date: | Re: bad TSO performance in 2.6.9-rc2-BK, John Heffner |
|---|---|
| Next by Date: | Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics), Robert Olsson |
| Previous by Thread: | Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics), jamal |
| Next by Thread: | Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics), jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |