Re: Attempted summary of suspend-blockers LKML thread

From: Arve Hjønnevåg
Date: Sat Aug 07 2010 - 06:23:54 EST


2010/8/7 Arve Hjønnevåg <arve@xxxxxxxxxxx>:
> 2010/8/7 Rafael J. Wysocki <rjw@xxxxxxx>:
>> On Saturday, August 07, 2010, Arve Hjønnevåg wrote:
>>> 2010/8/6 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
>>> > On Thu, 5 Aug 2010, Arve Hjønnevåg wrote:
...
>>> >> total_time, total time the wake lock has been active. This one should
>>> >> be obvious.
>>> >
>>> > Also easily added.
>>> >
>>> Only with a handle passed to all the calls.
>>
>> Well, I'm kind of tired of this "my solution is the only acceptable one"
>> mindset.  IMHO, it's totally counter productive.
>>
>
> How do you propose to track how long a driver has blocked suspend when
> you have an unblock call that takes no arguments.
>

Also, I did not not see a response to my question about why you don't
want to pass a handle.

--
Arve Hjønnevåg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/