Re: git: aesni(4): Avoid panicking when kmalloc() returns an

看板DFBSD_commit作者時間14年前 (2011/05/17 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On Sat, Apr 23, 2011 at 5:17 PM, Sascha Wildner <swildner@crater.dragonflybsd.org> wrote: > > commit 21bf6268304cfb3defd147b2fb9e3252696f629e > Author: Sascha Wildner <saw@online.de> > Date: ꀠSat Apr 23 10:56:05 2011 +0200 > > ꀠ乸esni(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
文章代碼(AID): #1DqRGd4x (DFBSD_commit)