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 Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux