[PATCH 0/5] arm64: Use memory copy instructions in kernel routines

Catalin Marinas catalin.marinas at arm.com
Fri Oct 4 03:10:36 PDT 2024


On Thu, Oct 03, 2024 at 05:49:57PM +0100, Kristina Martsenko wrote:
> On 02/10/2024 17:20, Catalin Marinas wrote:
> > On Mon, Sep 30, 2024 at 05:10:46PM +0100, Kristina Martsenko wrote:
> >> This series makes the memcpy(), memmove() and memset() routines use the
> >> CPY/SET instructions, as well as copy_page() and clear_page().
> > 
> > Another function we should optimise is mte_zero_clear_page_tags() using
> > SETG*.
> 
> I can send that as a separate series.

Sounds good, thanks.

> What about mte_set_mem_tag_range()?

Ah, that as well but I guess only the init == true path since I don't
think we have any FEAT_MOPS instruction for only setting the tags.

-- 
Catalin



More information about the linux-arm-kernel mailing list