On Wed, 21 May 2008 11:16:46 +0800 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > On Wed, May 21, 2008 at 10:36:51AM +0900, FUJITA Tomonori wrote: > > > > ARCH_KMALLOC_MINALIGN represents DMA alignment since we guarantee > > kmalloced buffers can be used for DMA. > > That may be why it was created, but that is not its only application. Currently, it's only applicaiton. > In particular, it forms part of the calculation of the minimum > alignment guaranteed by kmalloc which is why it's used in crpyto. > > Of course, if some kind soul would move this calculation into a > header file then we wouldn't be having this discussion. As explained, with the current way we define ARCH_KMALLOC_MINALIGN, crypto doesn't need to use it. But to make it clear, we had better clean up these defines, such as renaming it an appropriate name like ARCH_DMA_ALIGN. I'll send patches shortly. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html