[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090201174025.GA9562@ioremap.net>
Date: Sun, 1 Feb 2009 20:40:25 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Eric Dumazet <dada1@...mosbay.com>
Cc: Stephen Hemminger <shemminger@...tta.com>,
Herbert Xu <herbert@...dor.apana.org.au>, berrange@...hat.com,
et-mgmt-tools@...hat.com, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: virt-manager broken by bind(0) in net-next.
On Sun, Feb 01, 2009 at 05:12:41PM +0100, Eric Dumazet (dada1@...mosbay.com) wrote:
> > David applied the patch which fixed the problem, so we can return to the
> > cache line issues. What do you think about the last version where
> > bsockets field was placed at the very end of the structure and with
> > cacheline_aligned_on_smp attribute?
> >
>
> Yes, at a minimum, move it away from first cache line.
>
> And using atomic_t so that we dont have to discuss about accumulated
> errors on SMP on this variable. We will see later if percpu counter
> is wanted or not.
>
> Thank you
>
> [PATCH] net: move bsockets outside of read only beginning of struct inet_hashinfo
>
> And switch bsockets to atomic_t since it might be changed in parallel.
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Ok, let's do it this way. Ack.
Thank you Eric.
--
Evgeniy Polyakov
--
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