Re: [PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

2014-07-13 Thread Christoph Hellwig
On Fri, Jul 11, 2014 at 01:25:10PM -0700, Andi Kleen wrote: > From: Andi Kleen > > These data structures are accessed by different CPUs and have some > fields which are mostly read only and others which are frequently > written. Separate some common ones into separate cache line > to minimize

Re: [PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

2014-07-13 Thread Christoph Hellwig
On Fri, Jul 11, 2014 at 01:25:10PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com These data structures are accessed by different CPUs and have some fields which are mostly read only and others which are frequently written. Separate some common ones into separate cache line

[PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

2014-07-11 Thread Andi Kleen
From: Andi Kleen These data structures are accessed by different CPUs and have some fields which are mostly read only and others which are frequently written. Separate some common ones into separate cache line to minimize false sharing while submitting a command. This allows scsi_dispatch_cmd

[PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

2014-07-11 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com These data structures are accessed by different CPUs and have some fields which are mostly read only and others which are frequently written. Separate some common ones into separate cache line to minimize false sharing while submitting a command. This allows