Re: [PATCH v2 22/44] mmap: Pass through vmi iterator to __split_vma()

From: Liam Howlett
Date: Mon Jan 09 2023 - 11:47:57 EST


* SeongJae Park <sj@xxxxxxxxxx> [230106 21:40]:
> Hello Liam,
>
> On Sat, 7 Jan 2023 02:01:26 +0000 SeongJae Park <sj@xxxxxxxxxx> wrote:
>
> > Hello Liam,
> >
> >
> > I found 'make install' mm-unstable kernel fails from initramfs stage with
> > 'not a dynamic executable' message. I confirmed the issue is not reproducible
> > before your patchset[1] but after the series[2].
> >
> > I tried to bisect, but on a commit[3] middle of mm-unstable tree which this
> > patch is applied, I get below error while booting. Do you have an idea?
>
> I further bisected for the boot failure. The first bad commit was a8e0f2e12936
> ("mmap: change do_mas_munmap and do_mas_aligned_munmap() to use vma
> iterator")[1]. The stacktrace on the commit is as below.
>
...

Thanks for your work on this.

I have found the issue and will send out a fix shortly. I am not
handling the invalidated state correctly in the write path.