Re: [PATCH 17/17] jbd2: get rid of superfluous __GFP_REPEAT

2016-05-30 Thread Jan Kara
On Mon 30-05-16 11:14:59, Michal Hocko wrote: > From: Michal Hocko > > jbd2_alloc is explicit about its allocation preferences wrt. the > allocation size. Sub page allocations go to the slab allocator > and larger are using either the page allocator or vmalloc. This > is all

Re: [PATCH 17/17] jbd2: get rid of superfluous __GFP_REPEAT

2016-05-30 Thread Jan Kara
On Mon 30-05-16 11:14:59, Michal Hocko wrote: > From: Michal Hocko > > jbd2_alloc is explicit about its allocation preferences wrt. the > allocation size. Sub page allocations go to the slab allocator > and larger are using either the page allocator or vmalloc. This > is all good but the logic

[PATCH 17/17] jbd2: get rid of superfluous __GFP_REPEAT

2016-05-30 Thread Michal Hocko
From: Michal Hocko jbd2_alloc is explicit about its allocation preferences wrt. the allocation size. Sub page allocations go to the slab allocator and larger are using either the page allocator or vmalloc. This is all good but the logic is unnecessarily complex. 1) as per Ted,

[PATCH 17/17] jbd2: get rid of superfluous __GFP_REPEAT

2016-05-30 Thread Michal Hocko
From: Michal Hocko jbd2_alloc is explicit about its allocation preferences wrt. the allocation size. Sub page allocations go to the slab allocator and larger are using either the page allocator or vmalloc. This is all good but the logic is unnecessarily complex. 1) as per Ted, the vmalloc