Skip to content
Commit 850dbf24 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

malloc: Ensure mtag code path in checked_request2size is cold



This is a workaround (hack) for a gcc optimization issue (PR 99551).
Without this the generated code may evaluate the expression in the
cold path which causes performance regression for small allocations
in the memory tagging disabled (common) case.

Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
parent 05f878c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment