Re: [PATCH] scsi: align shost-hostdata to cacheline

2008-02-20 Thread Tejun Heo
James Bottomley wrote: On Fri, 2008-02-15 at 07:49 +0900, Tejun Heo wrote: James Bottomley wrote: On Thu, 2008-02-14 at 18:48 +0900, Tejun Heo wrote: shost-hostdata can contain arbitrary data including DMA target buffers. Align it to cacheline. Signed-off-by: Tejun Heo [EMAIL PROTECTED]

Re: [PATCH] scsi: align shost-hostdata to cacheline

2008-02-15 Thread James Bottomley
On Fri, 2008-02-15 at 07:49 +0900, Tejun Heo wrote: James Bottomley wrote: On Thu, 2008-02-14 at 18:48 +0900, Tejun Heo wrote: shost-hostdata can contain arbitrary data including DMA target buffers. Align it to cacheline. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- James, what

[PATCH] scsi: align shost-hostdata to cacheline

2008-02-14 Thread Tejun Heo
shost-hostdata can contain arbitrary data including DMA target buffers. Align it to cacheline. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- James, what do you think? include/scsi/scsi_host.h |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] scsi: align shost-hostdata to cacheline

2008-02-14 Thread James Bottomley
On Thu, 2008-02-14 at 18:48 +0900, Tejun Heo wrote: shost-hostdata can contain arbitrary data including DMA target buffers. Align it to cacheline. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- James, what do you think? Hmm, it will blow out the host size ... although that's not such a

Re: [PATCH] scsi: align shost-hostdata to cacheline

2008-02-14 Thread Tejun Heo
James Bottomley wrote: On Thu, 2008-02-14 at 18:48 +0900, Tejun Heo wrote: shost-hostdata can contain arbitrary data including DMA target buffers. Align it to cacheline. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- James, what do you think? Hmm, it will blow out the host size ...