|
|
Log in / Subscribe / Register

Re: [PATCH 09/10] Input: Hold wake lock while event queue is not empty.

From:  Matthew Garrett <mjg59-AT-srcf.ucam.org>
To:  Arve =?iso-8859-1?B?SGr4bm5lduVn?= <arve-AT-android.com>
Subject:  Re: [PATCH 09/10] Input: Hold wake lock while event queue is not empty.
Date:  Sat, 14 Feb 2009 00:18:14 +0000
Message-ID:  <20090214001814.GA6287@srcf.ucam.org>
Cc:  swetland-AT-google.com, linux-pm-AT-lists.linux-foundation.org, u.luckas-AT-road.de, ncunningham-AT-crca.org.au
Archive‑link:  Article

On Fri, Feb 13, 2009 at 04:13:22PM -0800, Arve Hjønnevåg wrote:

> Which is why I offered to make it configurable.

If you don't trust your userspace then your argument suggests every wake 
lock that faces userspace has to have a timeout. When the logical 
extension to an answer to a problem is "Add a configuration option to 
almost every driver", you might want to rethink.

-- 
Matthew Garrett | mjg59@srcf.ucam.org



to post comments


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds