Re: [PATCH 07/13] ACPI/IPMI: Add reference counting for ACPI IPMI transfers

2013-07-26 Thread Rafael J. Wysocki
On Friday, July 26, 2013 01:21:18 AM Zheng, Lv wrote: > > From: linux-acpi-ow...@vger.kernel.org > > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > > Sent: Friday, July 26, 2013 6:23 AM > > > > On Tuesday, July 23, 2013 04:09:54 PM Lv Zheng wrote: > > > This patch adds

RE: [PATCH 07/13] ACPI/IPMI: Add reference counting for ACPI IPMI transfers

2013-07-25 Thread Zheng, Lv
> From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Friday, July 26, 2013 6:23 AM > > On Tuesday, July 23, 2013 04:09:54 PM Lv Zheng wrote: > > This patch adds reference counting for ACPI IPMI transfers to tune the > > locking

Re: [PATCH 07/13] ACPI/IPMI: Add reference counting for ACPI IPMI transfers

2013-07-25 Thread Rafael J. Wysocki
On Tuesday, July 23, 2013 04:09:54 PM Lv Zheng wrote: > This patch adds reference counting for ACPI IPMI transfers to tune the > locking granularity of tx_msg_lock. > > The acpi_ipmi_msg handling is re-designed using referece counting. > 1. tx_msg is always unlinked before complete(), so that: >

[PATCH 07/13] ACPI/IPMI: Add reference counting for ACPI IPMI transfers

2013-07-23 Thread Lv Zheng
This patch adds reference counting for ACPI IPMI transfers to tune the locking granularity of tx_msg_lock. The acpi_ipmi_msg handling is re-designed using referece counting. 1. tx_msg is always unlinked before complete(), so that: 1.1. it is safe to put complete() out side of tx_msg_lock; 1.