[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071012182949.GB12933@one.firstfloor.org>
Date: Fri, 12 Oct 2007 20:29:49 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: "Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
Andi Kleen <andi@...stfloor.org>,
David Miller <davem@...emloft.net>, hadi@...erus.ca,
jeff@...zik.org, johnpol@....mipt.ru, herbert@...dor.apana.org.au,
gaagaan@...il.com, Robert.Olsson@...a.slu.se,
netdev@...r.kernel.org, rdreier@...co.com,
"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
mcarlson@...adcom.com, jagana@...ibm.com,
general@...ts.openfabrics.org, mchan@...adcom.com, tgraf@...g.ch,
randy.dunlap@...cle.com, sri@...ibm.com, kaber@...sh.net
Subject: Re: [ofa-general] Re: [PATCH 2/3][NET_BATCH] net core use batching
> Use RCU? or write a generic version and get it reviewed. You really
> want someone with knowledge of all the possible barrier impacts to
> review it.
I guess he was thinking of using cmpxchg; but we don't support this
in portable code.
RCU is not really suitable for this because it assume
writing is relatively rare which is definitely not the case for a qdisc.
Also general list management with RCU is quite expensive anyways --
it would require a full copy (that is the 'C' in RCU which Linux
generally doesn't use at all)
-Andi
-
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