Re: [PATCH v2 01/14] mm: Batch-copy PTE ranges during fork()

From: Andrew Morton
Date: Wed Nov 15 2023 - 16:37:48 EST


On Wed, 15 Nov 2023 16:30:05 +0000 Ryan Roberts <ryan.roberts@xxxxxxx> wrote:

> However, the primary motivation for this change is to reduce the number
> of tlb maintenance operations that the arm64 backend has to perform
> during fork

Do you have a feeling for how much performance improved due to this?

Are there other architectures which might similarly benefit? By
implementing ptep_set_wrprotects(), it appears. If so, what sort of
gains might they see?