On Sat, Apr 23, 2011 at 5:17 PM, Sascha Wildner <[email protected]> wrote: > > commit 21bf6268304cfb3defd147b2fb9e3252696f629e > Author: Sascha Wildner <[email protected]> > Date: Sat Apr 23 10:56:05 2011 +0200 > > aesni(4): Avoid panicking when kmalloc() returns an unaligned pointer.
Could we round up the kmalloc size to the nearest power of 2 instead of aligning it manually? AFAIK, kmalloc will align data properly if the allocation size is power of 2. Best Regards, sephe -- Tomorrow Will Never Die
