Re: [Intel-gfx] [PATCH] lib/prime_numbers: Suppress warn on kmalloc failure

2017-01-15 Thread Joonas Lahtinen
On pe, 2017-01-13 at 23:51 +, Chris Wilson wrote: > The allocation for the bitmap may become very large, larger than > MAX_ORDER, for large requests. We fail gracefully by falling back to > trail-division, so disable the warning from kmalloc: > >   521.961092] WARNING: CPU: 0 PID: 30637 at mm/

[Intel-gfx] [PATCH] lib/prime_numbers: Suppress warn on kmalloc failure

2017-01-13 Thread Chris Wilson
The allocation for the bitmap may become very large, larger than MAX_ORDER, for large requests. We fail gracefully by falling back to trail-division, so disable the warning from kmalloc: 521.961092] WARNING: CPU: 0 PID: 30637 at mm/page_alloc.c:3548 __alloc_pages_slowpath+0x237/0x9a0 [ 521.961