Re: [PATCH v3 10/22] ACPI: platform_profile: Use `scoped_cond_guard` for platform_profile_show()

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

 



On 10/31/2024 05:15, Ilpo Järvinen wrote:
On Wed, 30 Oct 2024, Mario Limonciello wrote:

Migrate away from using an interruptible mutex to scoped_cond_guard.
Also move the sysfs string match out of the mutex as it's not needed.

Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>

I'd have expected all the mutex_lock_interruptible() ->
scoped_cond_guard() changes in the same patch. Although this also moves
the sysfs stuff out which in this smaller form is kind of okay but if it's
part of larger patch merging all scoped guard conversions, it should be
in a different change.


OK for the next version I'll merge all the mutex changes to the same patch but split the sysfs change to it's own.




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux