Re: [PATCH] crypto: testmgr - allocate buffers with __GFP_COMP

2019-04-14 Thread Herbert Xu
On Sun, Apr 14, 2019 at 07:24:12PM -0700, Matthew Wilcox wrote: > On Thu, Apr 11, 2019 at 01:32:32PM -0700, Kees Cook wrote: > > > @@ -156,7 +156,8 @@ static int __testmgr_alloc_buf(char *buf[XBUFSIZE], > > > int order) > > > int i; > > > > > > for (i = 0; i < XBUFSIZE; i++) { > >

Re: [PATCH] crypto: testmgr - allocate buffers with __GFP_COMP

2019-04-14 Thread Matthew Wilcox
On Thu, Apr 11, 2019 at 01:32:32PM -0700, Kees Cook wrote: > > @@ -156,7 +156,8 @@ static int __testmgr_alloc_buf(char *buf[XBUFSIZE], int > > order) > > int i; > > > > for (i = 0; i < XBUFSIZE; i++) { > > - buf[i] = (char *)__get_free_pages(GFP_KERNEL, order); > > +