Re: [PATCH v2] netlink: Replace rhash_portid with bound

From: Herbert Xu
Date: Wed Sep 23 2015 - 23:31:44 EST


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@xxxxxxxxxxxxxxxxxxx>
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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/