Messages in this thread | | | Subject | Re: [PATCH] cpuset: mm: Reduce large amounts of memory barrier related damage v3 | From | Peter Zijlstra <> | Date | Mon, 26 Mar 2012 13:07:27 +0200 |
| |
On Mon, 2012-03-26 at 12:56 +0200, Peter Zijlstra wrote: > static inline bool put_mems_allowed(unsigned int seq) > { > - return !read_seqcount_retry(¤t->mems_allowed_seq, seq); > + return likely(!read_seqcount_retry(¤t->mems_allowed_seq, seq)); > }
Ignore this hunk, read_seqcount_retry() already has a branch hint in. I'll send a new version if people thing the rest of the patch is worth it.
| |