# Re: \[RFC 0/5\] devlink: add an explicit locking API

- From: Leon Romanovsky \<leon@kernel.org\>
- Date: 2021-11-02 07:44:35 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/11/11215469
- Thread: https://ratatoskr.run/netdev/2021/10/11215287/t.md

```text
On Mon, Nov 01, 2021 at 01:04:03PM -0700, Edwin Peer wrote:
> On Sun, Oct 31, 2021 at 12:23 AM Leon Romanovsky [ref] 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
```
