[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YYDsUbGnxxt0TzsX@unreal>
Date: Tue, 2 Nov 2021 09:44:17 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Edwin Peer <edwin.peer@...adcom.com>
Cc: Jakub Kicinski <kuba@...nel.org>, Ido Schimmel <idosch@...sch.org>,
Jiri Pirko <jiri@...nulli.us>, netdev <netdev@...r.kernel.org>
Subject: Re: [RFC 0/5] devlink: add an explicit locking API
On Mon, Nov 01, 2021 at 01:04:03PM -0700, Edwin Peer wrote:
> On Sun, Oct 31, 2021 at 12:23 AM Leon Romanovsky <leon@...nel.org> wrote:
>
> > The average driver author doesn't know locking well and won't be able to
> > use devlink reference counting correctly.
>
> I think this problem largely only exists to the extent that locking
> and lifecycle requirements are poorly documented. :P
I'm talking about general locking concepts that are perfectly documented
and still people do crazy things with it. :)
>
> Regards,
> Edwin Peer
Powered by blists - more mailing lists