Re: mm: delay rmap removal until after TLB flush

Andrew Morton
2022-11-06T23:14:25Z

On Sun, 6 Nov 2022 14:34:51 -0800 Linus Torvalds <torvalds@linux-foundation.org> wrote:

> > mm-unstable (bad)
> > -----------------
> > Aside from that PageAnon issue, mm-unstable is in an understandably bad
> > state because you could not have foreseen my subpages_mapcount addition
> > to page_remove_rmap(). page_zap_pte_rmap() now needs to handle the
> > PageCompound (but not the "compound") case too. I rushed you and akpm
> > an emergency patch for that on Friday night, but you, let's say, had
> > reservations about it. So I haven't posted it, and while the PageAnon
> > issue remains, I think your patchset has to be removed from mm-unstable
> > and linux-next anyway.
>
> So I think I'm fine with your patch, I just want to move the memcg
> accounting to outside of it.
>
> I can re-do my series on top of mm-unstable, I guess. That's probably
> the easiest way to handle this all.
>
> Andrew - can you remove those patches again, and I'll create a new
> series for you?

Yes, I've removed both serieses and shall push the tree out within half
an hour from now.