[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071220.203105.209276041.davem@davemloft.net>
Date: Thu, 20 Dec 2007 20:31:05 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: haoki@...hat.com
Cc: herbert@...dor.apana.org.au, netdev@...r.kernel.org,
tyasui@...hat.com, mhiramat@...hat.com,
satoshi.oshima.fk@...achi.com, billfink@...dspring.com,
andi@...stfloor.org, johnpol@....mipt.ru,
shemminger@...ux-foundation.org, yoshfuji@...ux-ipv6.org,
yumiko.sugita.yf@...achi.com
Subject: Re: [PATCH 2/4] [CORE]: datagram: basic memory accounting functions
From: Hideo AOKI <haoki@...hat.com>
Date: Thu, 20 Dec 2007 23:18:54 -0500
> > Also, the memory accounting is done at different parts in
> > the socket code paths for stream vs. datagram. This is why
> > everything is inconsistent, and, a mess.
>
> Could you tell me more detailed information?
I think the core thing is that TCP and INET protocols call into
the memory accounting internally, either inside their own code
paths or with inet_*() helpers.
This is versus what we really want is everything happening via generic
sk_foo() helpers.
If that's what's happening already, great, just consolidate the
datagram vs. stream stuff and it should be good.
--
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