| To: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Improve behaviour of Netlink Sockets |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Tue, 28 Sep 2004 21:02:25 -0700 |
| Cc: | hadi@xxxxxxxxxx, pablo@xxxxxxxxxxx, davem@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040929032724.GA26959@gondor.apana.org.au> |
| References: | <20040928024614.GA9911@gondor.apana.org.au> <1096340772.8659.51.camel@jzny.localdomain> <20040928032321.GB10116@gondor.apana.org.au> <1096343125.8661.96.camel@jzny.localdomain> <20040928035921.GA10675@gondor.apana.org.au> <1096367787.8662.146.camel@jzny.localdomain> <20040928111159.GA18421@gondor.apana.org.au> <1096374736.8663.217.camel@jzny.localdomain> <20040929001327.GB25293@gondor.apana.org.au> <1096426324.1044.129.camel@jzny.localdomain> <20040929032724.GA26959@gondor.apana.org.au> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 29 Sep 2004 13:27:24 +1000 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > On Tue, Sep 28, 2004 at 10:52:05PM -0400, jamal wrote: > > > > > You're right. rtmsg_info() is using GOODISZE unnecessarily. I'll > > > write up a patch. > > > > But why? ;-> > > So that the alloc_skb() is slightly less likely to fail. The dumpers > gain a lot by using GOODSIZE since they can fill it up. As rtmsg_info > has no chance of getting anywhere near GOODSIZE we should provide a > more accruate estimate. > > It also means that with netlink_trim() you'll save a realloc/copy. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > > Dave, you can stop reading now :) Hehe, ok. Patch applied :-) Thanks. |
| Previous by Date: | Re: [PATCH 2.4 PKT_SCHED] Report qdisc parent to userspace, David S. Miller |
|---|---|
| Next by Date: | Tons of "BUG: dst overflow ..." messages, Jeff Garzik |
| Previous by Thread: | Re: [PATCH] Improve behaviour of Netlink Sockets, Herbert Xu |
| Next by Thread: | Re: [PATCH] Improve behaviour of Netlink Sockets, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |