Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2026 23:41:03 +0000
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 11c1b69885be - main - netlink: force uninline of nl_receive_message()
Message-ID:  <6993ab0f.3191d.1b4f2d06@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=11c1b69885be9c20fba8f7b0d41bd6da8202b972

commit 11c1b69885be9c20fba8f7b0d41bd6da8202b972
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-02-16 23:39:29 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-02-16 23:39:29 +0000

    netlink: force uninline of nl_receive_message()
    
    The entire netlink(4) message processing thread is all inlined into
    nl_taskqueue_handler() making it difficult to dtrace(1) on a message
    level.
---
 sys/netlink/netlink_io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netlink/netlink_io.c b/sys/netlink/netlink_io.c
index 882c2181d24f..9646eb2650d5 100644
--- a/sys/netlink/netlink_io.c
+++ b/sys/netlink/netlink_io.c
@@ -256,7 +256,7 @@ nl_send(struct nl_writer *nw, struct nlpcb *nlp)
 	}
 }
 
-static int
+static __noinline int
 nl_receive_message(struct nlmsghdr *hdr, int remaining_length,
     struct nlpcb *nlp, struct nl_pstate *npt)
 {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6993ab0f.3191d.1b4f2d06>