[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220311083332.48c7155a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 11 Mar 2022 08:33:32 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: idosch@...dia.com, petrm@...dia.com, simon.horman@...igine.com,
netdev@...r.kernel.org, leonro@...dia.com
Subject: Re: [RFT net-next 1/6] devlink: expose instance locking and add
locked port registering
On Fri, 11 Mar 2022 10:15:30 +0100 Jiri Pirko wrote:
>> The goal is for that API to be the main one, we can rename the devlink_
>> to something else at the end. The parts of it which are not completely
>> removed.
>
> Okay. So please have it as:
> devl_* - normal
> __devl_* - unlocked
Isn't it fairly awkward for the main intended API to have __ in the
name? __ means unsafe / make sure you know what you're doing.
There's little room for confusion here, we have locking asserts
everywhere.
Powered by blists - more mailing lists