Re: [PATCH v2 00/13] MADV_FREE support

2015-12-05 Thread Daniel Micay
On 05/12/15 06:10 AM, Pavel Machek wrote: > On Wed 2015-11-04 10:25:54, Minchan Kim wrote: >> MADV_FREE is on linux-next so long time. The reason was two, I think. >> >> 1. MADV_FREE code on reclaim path was really mess. > > Could you explain what MADV_FREE does? > > Comment in code says 'free th

Re: [PATCH v2 00/13] MADV_FREE support

2015-12-05 Thread Pavel Machek
On Wed 2015-11-04 10:25:54, Minchan Kim wrote: > MADV_FREE is on linux-next so long time. The reason was two, I think. > > 1. MADV_FREE code on reclaim path was really mess. Could you explain what MADV_FREE does? Comment in code says 'free the page only when there's memory pressure'. So I mark m