Re: [PATCH] mm: clarify why we want kmalloc before falling backto vmallock

2017-05-20 Thread Michal Hocko
On Fri 19-05-17 17:46:58, John Hubbard wrote: > On 05/17/2017 01:09 AM, Michal Hocko wrote: > >From: Michal Hocko > > > >While converting drm_[cm]alloc* helpers to kvmalloc* variants Chris > >Wilson has wondered why we want to try kmalloc before vmalloc fallback > >even for larger allocations requ

Re: [PATCH] mm: clarify why we want kmalloc before falling backto vmallock

2017-05-19 Thread John Hubbard
On 05/17/2017 01:09 AM, Michal Hocko wrote: From: Michal Hocko While converting drm_[cm]alloc* helpers to kvmalloc* variants Chris Wilson has wondered why we want to try kmalloc before vmalloc fallback even for larger allocations requests. Let's clarify that one larger physically contiguous blo

Re: [PATCH] mm: clarify why we want kmalloc before falling backto vmallock

2017-05-18 Thread Vlastimil Babka
On 05/17/2017 10:09 AM, Michal Hocko wrote: > From: Michal Hocko > > While converting drm_[cm]alloc* helpers to kvmalloc* variants Chris > Wilson has wondered why we want to try kmalloc before vmalloc fallback > even for larger allocations requests. Let's clarify that one larger > physically cont

Re: [PATCH] mm: clarify why we want kmalloc before falling backto vmallock

2017-05-17 Thread Chris Wilson
subject s/vmallock/vmalloc/ On Wed, May 17, 2017 at 10:09:32AM +0200, Michal Hocko wrote: > From: Michal Hocko > > While converting drm_[cm]alloc* helpers to kvmalloc* variants Chris > Wilson has wondered why we want to try kmalloc before vmalloc fallback > even for larger allocations requests.