Re: [RFC] MADV_FREE doesn't work when doesn't have swap partition

2014-12-22 Thread Konstantin Khlebnikov
On Fri, Dec 19, 2014 at 4:04 AM, Minchan Kim wrote: > On Thu, Dec 18, 2014 at 11:50:01AM +0800, Wang, Yalin wrote: >> I notice this commit: >> mm: support madvise(MADV_FREE), >> >> it can free clean anonymous pages directly, >> doesn't need pageout to swap partition, >> >> but I found it doesn't w

RE: [RFC] MADV_FREE doesn't work when doesn't have swap partition

2014-12-18 Thread Wang, Yalin
.kernel.org'; 'linux...@kvack.org'; 'linux-arm- > ker...@lists.infradead.org'; 'n-horigu...@ah.jp.nec.com' > Subject: Re: [RFC] MADV_FREE doesn't work when doesn't have swap partition > > On Thu, Dec 18, 2014 at 11:50:01AM +0800, Wang, Yalin wrote: &g

Re: [RFC] MADV_FREE doesn't work when doesn't have swap partition

2014-12-18 Thread Minchan Kim
On Thu, Dec 18, 2014 at 11:50:01AM +0800, Wang, Yalin wrote: > I notice this commit: > mm: support madvise(MADV_FREE), > > it can free clean anonymous pages directly, > doesn't need pageout to swap partition, > > but I found it doesn't work on my platform, > which don't enable any swap partitions

[RFC] MADV_FREE doesn't work when doesn't have swap partition

2014-12-17 Thread Wang, Yalin
I notice this commit: mm: support madvise(MADV_FREE), it can free clean anonymous pages directly, doesn't need pageout to swap partition, but I found it doesn't work on my platform, which don't enable any swap partitions. I make a change for this. Just to explain my issue clearly, Do we need som