Re: commit 1c29a32ce65f4cd0f1c causes Bad rss-counter state and firefox-esr crash in linux-next-20240613
From: Liam R. Howlett
Date: Fri Jul 12 2024 - 11:38:23 EST
* Bert Karwatzki <spasswolf@xxxxxx> [240712 08:18]:
> I did some experiments on the rss counter bug. The next patch is made for linux-next-20240613
> with commit 1c29a32ce65f4cd0f1c0f9 reverted. Then I simply inlined the code of do_vmi_unmap()
> and do_vmi_align_munmap() into mmap_region(). This version of the code works fine and does not
> show the rss counter bug.
Are you still working with v1 of this patch set?
I root-caused the rss counter issue and seg fault to the fact that next
or prev may be expanded and I was using the new start/end on munmap() in
the completion. This was fixed in subsequent patches.
I've sent v4 recently, but will have to a v5 to back off the removal of
arch_unmap() for PPC.
...
Thanks,
Liam