Re: [cocci] Increasing usage of mutex guards (with SmPL)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Will it become helpful to offer further SmPL script variants which can be used
>> together with the tool “coccicheck”?
>
> I'm not the one to decide whether we should use cleanup for mutex locks.
> Intuitively, my opinion would be that we should not.  Something that can
> have so much impact on the execution of the system should be visible.

You are trying to influence software evolution also according to
scope-based resource management for a while, don't you?
https://elixir.bootlin.com/linux/v6.9.2/source/include/linux/cleanup.h#L124

Regards,
Markus





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux