Re: [PATCH RFC 3/6] selinux: add likely hints for fast paths

From: Paul Moore
Date: Fri Apr 11 2025 - 16:30:09 EST


On Mar 18, 2025 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@xxxxxxxxxxxxx> wrote:
>
> In the network hashtable lookup code add likely() compiler hints in the
> fast path, like already done in sel_netif_sid().
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
> security/selinux/ibpkey.c | 2 +-
> security/selinux/netnode.c | 2 +-
> security/selinux/netport.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)

Merged into selinux/dev, thanks.

--
paul-moore.com