Messages in this thread | | | Subject | Re: [BUG] slab debug vs. L1 alignement | From | Benjamin Herrenschmidt <> | Date | 16 Aug 2003 12:43:20 +0200 |
| |
> > > Hmm. That means slab debugging did it's job: The driver contains the > wrong assumption that all pointers are cache line aligned. Without slab > debugging, this would result in rare data corruptions in O_DIRECT apps. > With slab debugging on, it's exposed immediately.
As we discussed on IRC, I think SCSI host drivers (at least) can assume beeing passed aligned buffers, if somebody don't agree, please speak up ;) Christoph said that O_DIRECT has strict alignement rules too.
Ben.
- 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/
| |