Re: [PATCH] cpuset: mm: Reduce large amounts of memory barrier related damage v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(&current->mems_allowed_seq, seq);
> +       return likely(!read_seqcount_retry(&current->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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]