Re: [PATCH v2 1/1] mm/swap.c: flush lru pvecs on compound page arrival

2016-06-20 Thread Michal Hocko
On Fri 17-06-16 18:16:38, Lukasz Odzioba wrote: > Currently we can have compound pages held on per cpu pagevecs, which > leads to a lot of memory unavailable for reclaim when needed. > In the systems with hundreads of processors it can be GBs of memory. > > On of the way of reproducing the problem

[PATCH v2 1/1] mm/swap.c: flush lru pvecs on compound page arrival

2016-06-17 Thread Lukasz Odzioba
Currently we can have compound pages held on per cpu pagevecs, which leads to a lot of memory unavailable for reclaim when needed. In the systems with hundreads of processors it can be GBs of memory. On of the way of reproducing the problem is to not call munmap explicitly on all mapped regions (i