Re: [RFC 05/13] mm, page_alloc: make THP-specific decisions more generic

2016-05-12 Thread Michal Hocko
On Tue 10-05-16 09:35:55, Vlastimil Babka wrote: > Since THP allocations during page faults can be costly, extra decisions are > employed for them to avoid excessive reclaim and compaction, if the initial > compaction doesn't look promising. The detection has never been perfect as > there is no

Re: [RFC 05/13] mm, page_alloc: make THP-specific decisions more generic

2016-05-12 Thread Michal Hocko
On Tue 10-05-16 09:35:55, Vlastimil Babka wrote: > Since THP allocations during page faults can be costly, extra decisions are > employed for them to avoid excessive reclaim and compaction, if the initial > compaction doesn't look promising. The detection has never been perfect as > there is no

[RFC 05/13] mm, page_alloc: make THP-specific decisions more generic

2016-05-10 Thread Vlastimil Babka
Since THP allocations during page faults can be costly, extra decisions are employed for them to avoid excessive reclaim and compaction, if the initial compaction doesn't look promising. The detection has never been perfect as there is no gfp flag specific to THP allocations. At this moment it

[RFC 05/13] mm, page_alloc: make THP-specific decisions more generic

2016-05-10 Thread Vlastimil Babka
Since THP allocations during page faults can be costly, extra decisions are employed for them to avoid excessive reclaim and compaction, if the initial compaction doesn't look promising. The detection has never been perfect as there is no gfp flag specific to THP allocations. At this moment it