Re: [PATCH v2 0/4] Initial BBML2 support for contpte_convert()

From: David Hildenbrand
Date: Mon Mar 03 2025 - 04:14:54 EST


On 28.02.25 19:24, Mikołaj Lenczewski wrote:
Hi All,

This patch series adds adding initial support for eliding
break-before-make requirements on systems that support BBML2 and
additionally guarantee to never raise a conflict abort.

This support reorders and optionally elides a TLB invalidation in
contpte_convert(). The elision of said invalidation leads to a 12%
improvement when executing a microbenchmark designed to force the
pathological path where contpte_convert() gets called. This
represents an 80% reduction in the cost of calling contpte_convert().

Just a general comment: Nice! :)

--
Cheers,

David / dhildenb