login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
19
Re: SCSI breakage on non-cache coherent architectures
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Benjamin Herrenschmidt <benh@...>
To: David Miller <davem@...>
Cc: <James.Bottomley@...>, <linux-kernel@...>, <linux-scsi@...>, <rmk@...>
Subject:
Re: SCSI breakage on non-cache coherent architectures
Date: Monday, November 19, 2007 - 3:51 pm
On Mon, 2007-11-19 at 00:38 -0800, David Miller wrote:
quoted text
> From: Benjamin Herrenschmidt <benh@kernel.crashing.org> > Date: Mon, 19 Nov 2007 16:35:23 +1100 > > > I'm not sure what is the best way to fix that. Internally, I've done > > some test whacking some ____cacheline_aligned in the scsi_cmnd data > > structure to verify I no longer get random SLAB corruption when using my > > USB but that significantly bloats the size of the structure on archs > > such as ppc64 that don't need it and have a large cache line size. > > > > Unfortunately, I don't think there's any existing Kconfig symbol or arch > > provided #define to tell us that we are on a non-coherent arch afaik > > that could be used to make that conditional. > > > > Another option would be to kmalloc the buffer (wasn't it the case before > > btw ?) but I suppose some people will scream at the idea due to how the > > command pools are done... > > You could make a ____dma_cacheline_aligned and use that. > It seems pretty reasonable.
I was thinking about that. What archs would need it ? arm, mips, what else ? Cheers, Ben. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 1:35 am)
Re: SCSI breakage on non-cache coherent architectures
, Roland Dreier
, (Mon Nov 19, 5:43 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 5:55 pm)
Re: SCSI breakage on non-cache coherent architectures
, Matthew Wilcox
, (Mon Nov 19, 8:32 am)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 3:53 pm)
Re: SCSI breakage on non-cache coherent architectures
, James Bottomley
, (Mon Nov 19, 11:09 am)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 3:55 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 3:54 pm)
Re: SCSI breakage on non-cache coherent architectures
, David Miller
, (Mon Nov 19, 4:38 am)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 3:51 pm)
Re: SCSI breakage on non-cache coherent architectures
, Thomas Bogendoerfer
, (Tue Nov 20, 4:29 am)
Re: SCSI breakage on non-cache coherent architectures
, James Bottomley
, (Tue Nov 20, 10:36 am)
Re: SCSI breakage on non-cache coherent architectures
, Roland Dreier
, (Tue Nov 20, 4:05 pm)
Re: SCSI breakage on non-cache coherent architectures
, James Bottomley
, (Tue Nov 20, 5:10 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Tue Nov 20, 6:39 pm)
Re: SCSI breakage on non-cache coherent architectures
, James Bottomley
, (Tue Nov 20, 7:09 pm)
Re: SCSI breakage on non-cache coherent architectures
, David Miller
, (Mon Nov 19, 6:31 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 8:34 pm)
Re: SCSI breakage on non-cache coherent architectures
, David Miller
, (Mon Nov 19, 8:46 pm)
Re: SCSI breakage on non-cache coherent architectures
, Roland Dreier
, (Mon Nov 19, 10:10 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 11:14 pm)
Re: SCSI breakage on non-cache coherent architectures
, James Bottomley
, (Tue Nov 20, 3:35 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 10:35 pm)
Re: SCSI breakage on non-cache coherent architectures
, Benjamin Herrenschmidt
, (Mon Nov 19, 8:55 pm)
Re: SCSI breakage on non-cache coherent architectures
, David Miller
, (Mon Nov 19, 8:57 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Eric W. Biederman
[PATCH 02/10] sysfs: Support for preventing unmounts.
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Re: LSM conversion to static interface
git
:
openbsd-misc
:
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Timo Teräs
Re: xfrm_state locking regression...
Colocation donated by:
Who's online
There are currently
2 users
and
821 guests
online.
Online users
zeekec
sev8do
Syndicate