git: 11c1b69885be - main - netlink: force uninline of nl_receive_message()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Feb 2026 23:41:03 UTC
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)
{