Re: [PATCH RFC] mm: do not start node_reclaim for page order > MAX_ORDER

2018-11-02 Thread Michal Hocko
On Thu 01-11-18 20:37:52, Konstantin Khlebnikov wrote: > Page allocator has check in __alloc_pages_slowpath() but nowdays > there is earlier entry point into reclimer without such check: > get_page_from_freelist() -> node_reclaim(). Is the order check so expensive that it would be visible in the f

[PATCH RFC] mm: do not start node_reclaim for page order > MAX_ORDER

2018-11-01 Thread Konstantin Khlebnikov
Page allocator has check in __alloc_pages_slowpath() but nowdays there is earlier entry point into reclimer without such check: get_page_from_freelist() -> node_reclaim(). Signed-off-by: Konstantin Khlebnikov --- mm/vmscan.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/mm/vmscan.