RE: [PATCH] Battery: sysfs_remove_battery(): possible circular locking

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

 



>Well, how about using separate (independent lock) for sysfs_remove_battery()
>case? Since we can't safely drop battery->lock in sysfs_remove_battery() before 
>power_supply_unregister() call.
>Not sure if it should be within struct acpi_battery, perhaps we could
>have it as a 'global' battery lock. Anyway, here it is:
I think it should be within struct acpi_battery. There maybe one or more batteries.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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