Re: selftests/mm/rmap: verify correct RMAP handling of COW pages after fork()

From: Mike Rapoport

Date: Wed Oct 15 2025 - 05:02:40 EST


On Wed, Oct 15, 2025 at 10:49:48AM +0200, David Hildenbrand wrote:
> On 15.10.25 10:43, Itamar Dalal wrote:
> > Add a new test `migrate.cow_after_fork` that verifies correct RMAP handling
> > of Copy-On-Write (COW) pages after fork().
> >
> > Before a write, the parent and child share the same PFN. After a write, the
> > child’s PFN differs. This confirms that proper COW duplication occurred and
> > that RMAP correctly tracks page ownership transitions during COW events.
> >
> > Signed-off-by: Itamar-Dalal <dalalitamar@xxxxxxxxx>
> > ---
>
> Se my reply to your other patch.
>
> For the next time
>
> a) Use git-format-patch that will automatically add [PATCH]
>
> b) Use versioning, e.g., [PATCH v1], explain changes since the last version
> under the "---" the
>
> c) Use RESEND for resends, e.g., [PATCH v1 RESEND]
>
> d) Use git-send-email to send mails out
>
> The b4 tool might help as well.

And

e) please don't respin new version as soon as you get a single feedback.

https://docs.kernel.org/process/submitting-patches.html#don-t-get-discouraged-or-impatient


--
Sincerely yours,
Mike.