Re: [PATCH 1/3] acpi: Rip out EC_FLAGS_QUERY_PENDING (prevent race condition)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Jenkins <alan-jenkins@...>
Cc: Henrique de Moraes Holschuh <hmh@...>, <linux-acpi@...>, <linux-kernel@...>
Date: Saturday, July 19, 2008 - 5:12 pm

Alan Jenkins wrote:
Yes, this is what the flag was made for -- 
to guard workqueue from being filled up.
I meant that if we have patch #3, which drops poll mode, we only need
one of the first two, not both. And in this case I like #2 more than #1.
I fully agree here, it would be great to make sure that EC buffers are empty.
I would say, we should test pair of #2 and #3, or your original patch + my patch.
I still like the option to not have any new interrupts until I'm done with current one --
much like the PENDING bit.
Well, there is Keith Packard with concern that either high number of interrupts or long
spins on polling status register could push battery life down the drain...
One more argument to disable GPE until we service previous. 

Regards,
Alex.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] acpi: Rip out EC_FLAGS_QUERY_PENDING (preven..., Alexey Starikovskiy, (Sat Jul 19, 12:59 pm)
Re: [PATCH 1/3] acpi: Rip out EC_FLAGS_QUERY_PENDING (preven..., Alexey Starikovskiy, (Sat Jul 19, 5:12 pm)