[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231018111343.176ac1b9@hermes.local>
Date: Wed, 18 Oct 2023 11:13:43 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Antoine Tenart <atenart@...nel.org>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, netdev@...r.kernel.org, gregkh@...uxfoundation.org,
mhocko@...e.com
Subject: Re: [RFC PATCH net-next 1/4] net-sysfs: remove rtnl_trylock from
device attributes
On Wed, 18 Oct 2023 17:47:43 +0200
Antoine Tenart <atenart@...nel.org> wrote:
> +static inline struct kernfs_node *sysfs_rtnl_lock(struct kobject *kobj,
> + struct attribute *attr,
> + struct net_device *ndev)
Still reviewing the details here.
But inline on static functions is not the code policy in networking related code.
The argument is compiler will inline anyway if useful.
Powered by blists - more mailing lists