]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selinux: add likely hints for fast paths
authorChristian Göttsche <cgzones@googlemail.com>
Tue, 18 Mar 2025 08:33:30 +0000 (09:33 +0100)
committerPaul Moore <paul@paul-moore.com>
Fri, 11 Apr 2025 20:29:51 +0000 (16:29 -0400)
commite6fb56b2253d49d192d4fe790698462d5422c041
tree80a00d8a04d6f74e0ffed49ccbea27c1545aafe1
parent9cc034be10a52c30719f8b9436d81b981421bfb7
selinux: add likely hints for fast paths

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@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ibpkey.c
security/selinux/netnode.c
security/selinux/netport.c