Re: [PATCH v8 23/70] mm/mmap: change do_brk_flags() to expand existing VMA and add do_brk_munmap()

From: Andrew Morton
Date: Thu Apr 28 2022 - 21:16:34 EST

On Fri, 29 Apr 2022 00:38:50 +0000 Liam Howlett <liam.howlett@xxxxxxxxxx> wrote:

> > mm/mmap.c: In function 'do_brk_flags':
> > mm/mmap.c:2908:17: error: implicit declaration of function
> > 'khugepaged_enter_vma_merge'; did you mean 'khugepaged_enter_vma'?
> >
> > It appears that this is later fixed, but it hurts bisectability
> > (and prevents me from finding the actual build failure in linux-next
> > when trying to build corenet64_smp_defconfig).
> Yeah, that khugepaged_enter_vma_merge was renamed in another patch set.
> Andrew made the correction but kept the patch as it was. I think the
> suggested change is right.. if you read the commit that introduced
> khugepaged_enter_vma(), it seems right at least.

Things are a bit crazy lately. Merge issues with mapletree, merge
issues with mglru on mapletree, me doing a bunch of retooling to start
publishing/merging via git, mapletree runtime issues, etc.

I've dropped the mapletree patches again. Please scoop up all known
fixes and redo against the (non-rebasing) mm-stable branch at

The mm-unstable branch is a rebasing tree which contains mm-stable as
well as all the quilt-based MM material which isn't final enough to get
into mm-stable. So before sending please do a test merge with mm-unstable,
evaluate any issues which might be encountered.

I'd prefer to concentrate on getting mapletree stabilized and landed
for now, worry about mglru after that.