Messages in this thread | | | Date | Mon, 5 Dec 2022 22:27:58 -0800 | From | Christoph Hellwig <> | Subject | Re: [PATCH 0/10] crypto: Driver conversions for DMA alignment |
| |
On Tue, Dec 06, 2022 at 12:13:52PM +0800, Herbert Xu wrote: > Yes they're clearly bogus. Basically they are saying they want > memory that is aligned sufficiently for DMA. So if Catalin's > patch-set will break this assumption, then all the GFP_DMA allocations > in drivers/crypto will need to be enlarged to take this into > account.
But GFP_DMA never did do anything at all about alignment. It picks allocations from ZONE_DMA (which on x86 is the first 16MB only).
| |