[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080910054625.GA26821@gondor.apana.org.au>
Date: Wed, 10 Sep 2008 15:46:25 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: timo.teras@....fi, netdev@...r.kernel.org
Subject: Re: xfrm_state locking regression...
On Tue, Sep 09, 2008 at 10:23:30PM -0700, David Miller wrote:
>
> That's a good point, the hash resizing case.
>
> If the hash grows, we'll see some entries again.
>
> If it shrinks, we might skip some instead, which is very undesirable.
>
> Actually, thinking about it some more, both possibilities (skipping
> and dups) seem to be possible in both situations (growing and
> shrinking).
>
> Ehm... I think we should put this patch and idea aside for a little bit.
> :-)
Yeah the hash resizing thing really kills this approach. In fact
it seems that the original walker was written before resizing was
added.
I definitely agree that ordering isn't as important as showing the
entries reliably.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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