Re: [PATCH v4 00/16] MADV_FREE support

Minchan Kim
2015-11-25T02:53:25Z

Hi Andrew,

On Tue, Nov 24, 2015 at 01:58:51PM -0800, Andrew Morton wrote:
> On Fri, 20 Nov 2015 17:02:32 +0900 Minchan Kim <minchan@kernel.org> wrote:
>
> > I have been spent a lot of time to land MADV_FREE feature
> > by request of userland people(esp, Daniel and Jason, jemalloc guys.
>
> A couple of things...
>
> There's a massive and complex reject storm against Kirill's page-flags
> and thp changes. The problems in hugetlb.c are more than I can
> reasonably fix up, sorry. How would you feel about redoing the patches
> against next -mm?

No problem at all.

>
> Secondly, "mm: introduce lazyfree LRU list" and "mm: support MADV_FREE
> on swapless system" are new, and require significant reviewer
> attention. But there's so much other stuff flying around that I doubt
> if we'll get effective review. So perhaps it would be best to shelve
> those new things and introduce them later, after the basic old
> MADV_FREE work has settled in?
>

That's really what we(Daniel, Michael and me) want so far.
A people who is reluctant to it is Johannes who wanted to support
MADV_FREE on swapless system via new LRU from the beginning.

If Johannes is not strong against Andrew's plan, I will resend
new patchset(ie, not including new stuff) based on next -mmotm.

Hannes?