Re: [PATCH v4 1/3] mfd: viperboard: allocate I/O buffer separately

2014-09-25 Thread Johan Hovold
On Thu, Sep 25, 2014 at 06:41:35PM +0300, Octavian Purdila wrote: > Currently the I/O buffer is allocated part of the device status > structure, potentially sharing the same cache line with other members > in this structure. > > Allocate the buffer separately, to avoid the I/O operations corruptin

[PATCH v4 1/3] mfd: viperboard: allocate I/O buffer separately

2014-09-25 Thread Octavian Purdila
Currently the I/O buffer is allocated part of the device status structure, potentially sharing the same cache line with other members in this structure. Allocate the buffer separately, to avoid the I/O operations corrupting the device status structure due to cache line sharing. Compiled tested on