[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172074427850.19437.2338434288469713752.git-patchwork-notify@kernel.org>
Date: Fri, 12 Jul 2024 00:31:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v2 net-next] net: reduce rtnetlink_rcv_msg() stack usage
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 10 Jul 2024 15:16:53 +0000 you wrote:
> IFLA_MAX is increasing slowly but surely.
>
> Some compilers use more than 512 bytes of stack in rtnetlink_rcv_msg()
> because it calls rtnl_calcit() for RTM_GETLINK message.
>
> Use noinline_for_stack attribute to not inline rtnl_calcit(),
> and directly use nla_for_each_attr_type() (Jakub suggestion)
> because we only care about IFLA_EXT_MASK at this stage.
>
> [...]
Here is the summary with links:
- [v2,net-next] net: reduce rtnetlink_rcv_msg() stack usage
https://git.kernel.org/netdev/net-next/c/cef4902b0fad
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists