Re: cacheline-aligned locks [was Re: RFC: gif(4) MP-ify]

2016-01-06 Thread Kengo NAKAHARA
Hi, On 2016/01/07 0:26, Taylor R Campbell wrote: >Date: Wed, 6 Jan 2016 14:19:01 +0900 >From: Kengo NAKAHARA > >I have a question for confirmation. If the struct has two locks for >different purposes, is the COHERENCY_UNIT padding required between >the locks isn't it? E.g. in

cacheline-aligned locks [was Re: RFC: gif(4) MP-ify]

2016-01-06 Thread Taylor R Campbell
Date: Wed, 6 Jan 2016 14:19:01 +0900 From: Kengo NAKAHARA I have a question for confirmation. If the struct has two locks for different purposes, is the COHERENCY_UNIT padding required between the locks isn't it? E.g. in my old patch(gif-mp-ify.patch), is the COHERENCY_UNIT padd