Re: [PATCH RFC 1/3] mm/hugetlb: split alloc_fresh_huge_page_node into fast and slow path

2017-01-24 Thread Michal Hocko
On Tue 24-01-17 15:49:02, Jia He wrote: > This patch split alloc_fresh_huge_page_node into 2 parts: > - fast path without __GFP_REPEAT flag > - slow path with __GFP_REPEAT flag > > Thus, if there is a server with uneven numa memory layout: > available: 7 nodes (0-6) > node 0 cpus: 0 1 2 3 4 5 6 7

[PATCH RFC 1/3] mm/hugetlb: split alloc_fresh_huge_page_node into fast and slow path

2017-01-23 Thread Jia He
This patch split alloc_fresh_huge_page_node into 2 parts: - fast path without __GFP_REPEAT flag - slow path with __GFP_REPEAT flag Thus, if there is a server with uneven numa memory layout: available: 7 nodes (0-6) node 0 cpus: 0 1 2 3 4 5 6 7 node 0 size: 6603 MB node 0 free: 91 MB node 1 cpus: n