Re: [PATCH v4 1/5] rwsem: check the lock before cpmxchg indown_write_trylock
From: Tim Chen
Date:  Thu Jun 27 2013 - 11:59:23 EST
On Thu, 2013-06-27 at 09:32 +0800, Alex Shi wrote:
> The following line should be added head of commit log on patches 1~4. :)
> 
> From: Alex Shi <alex.shi@xxxxxxxxx>
> 
> 
> > Cmpxchg will cause the cacheline bouning when do the value checking,
> > that cause scalability issue in a large machine (like a 80 core box).
> > 
> > So a lock pre-read can relief this contention.
> > 
> > Signed-off-by: Alex Shi <alex.shi@xxxxxxxxx>
> 
> 
Okay.  Will add the From line in addition to Signed off line on next
update.
Tim
--
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/