Re: [PATCH rc8-mm1] hotfix libata-scsi corruption
From: Matt Mackall <hidden>
Date: 2008-01-22 23:59:36
Also in:
linux-scsi, lkml
From: Matt Mackall <hidden>
Date: 2008-01-22 23:59:36
Also in:
linux-scsi, lkml
On Tue, 2008-01-22 at 22:59 +0000, Hugh Dickins wrote:
On Tue, 22 Jan 2008, James Bottomley wrote:quoted
libsas looks to be OK because it specifically kmallocs a 512 byte buffer which should (for off slab data) be 512 byte aligned.I don't remember the various SLAB and SLOB and SLUB rules offhand: I'm not sure it's safe to rely on such alignment on all of them ....
It doesn't work that way with SLOB kmalloc (nor did it in pre-slabified kmalloc). One shouldn't be surprised if a SLAB/SLUB debugging feature breaks that alignment either. -- Mathematics is the supreme nostalgia of our time.