On Tue, May 11, 2010 at 11:10 PM, Mike Frysinger <vapier.adi@xxxxxxxxx> wrote: >> Make your own slab cache with the alignment flag set, as Pekka already >> mentioned. > > and like i said, that doesnt sound like a reasonable solution when > every single SPI driver (over 100 atm) out there is affected Why do you need to do it in every driver? Why not create a cache of size cache_line_size()*2 or something in the SPI stack and add a helper function spi_alloc_whatever_this_is_about() for the drivers to use? -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html