lkml.org 
[lkml]   [2015]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] netlink: Replace rhash_portid with bound
On Thu, Sep 24, 2015 at 11:31:17AM +0800, Herbert Xu wrote:
> 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.

Hmmm... yeah, you can say that, but it still was a failure to
recognize and apply the common pattern and what you're suggesting is
deviating for no good reason. It demands a lot of cognitive overhead
for something which should be routine and makes the code a lot more
fragile as a result. Things like this make barrier usages difficult
to understand and verify because it takes away a lot of ready-made
cognitive tools. So, let's please stick to the known pattern.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2015-09-24 06:01    [W:0.076 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site