Messages in this thread | | | Date | Thu, 24 Sep 2015 11:31:17 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v2] netlink: Replace rhash_portid with bound |
| |
On Wed, Sep 23, 2015 at 11:29:28PM -0400, Tejun Heo wrote: > > So, while that also has been a common failure mode that we've been > seeing with barrier usages, what you're suggesting isn't the right > balance either. It's error-prone in a different way as amply > exemplified in this very thread. It ended up making what should have > been a straight-forward writer-reader interlocking into a maze in > which one can easily be lost. I think you should be able to see that > after this thread.
No this isn't what happened. My error was trying to see if there is a way to do it without barriers. In the end there wasn't. This has nothing to do with using primitives.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |