From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 21 May 2008 20:22:18 +0800 From: Herbert Xu Subject: Re: [PATCH 1/4] block: use ARCH_KMALLOC_MINALIGN as the default dma pad mask Message-ID: <20080521122218.GA19849@gondor.apana.org.au> References: <20080521100529.GA19077@gondor.apana.org.au> <20080521200104C.tomof@acm.org> <20080521112554.GA19558@gondor.apana.org.au> <20080521210956C.tomof@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080521210956C.tomof@acm.org> Sender: owner-linux-mm@kvack.org Return-Path: To: FUJITA Tomonori Cc: akpm@linux-foundation.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org, jens.axboe@oracle.com, tsbogend@alpha.franken.de, bzolnier@gmail.com, James.Bottomley@HansenPartnership.com, jeff@garzik.org, davem@davemloft.net, linux-mm@kvack.org List-ID: On Wed, May 21, 2008 at 09:09:58PM +0900, FUJITA Tomonori wrote: > > OK, thanks. So it's about hardware requrement. Let me make sure if I > understand crypto alignment issue. > > __crt_ctx needs ARCH_KMALLOC_MINALIGN alignment only because of crypto > hardware. If I misunderstand it, can you answer my question in the > previous mail (it's the part that you cut)? That is, why does > __crt_ctx need ARCH_KMALLOC_MINALIGN alignment with software > algorithms. Because the same structure is used for all algorithms! Why is this so hard to understand? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org