Source-Changes-D archive

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

Re: CVS commit: src/lib/librumpuser

On Thu, Sep 26, 2013 at 12:41:51AM +0000, Mindaugas Rasiukevicius wrote:
> Module Name:  src
> Committed By: rmind
> Date:         Thu Sep 26 00:41:51 UTC 2013
> Modified Files:
>       src/lib/librumpuser: rumpuser_pth.c
> Log Message:
> Give RUMP mutex and rwlock their own cache-line.  Also give a separate
> cache-line for the rwlock's reader counter.

You'd be much better off ordering the fields to avoid ping-pong
of data.

IIRC one of the new (big) ppc has 256 byte cache lines.
Cache line aligning data is then getting silly.


David Laight:

Home | Main Index | Thread Index | Old Index