Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek <pavel@xxxxxx>
- Date: Fri, 26 Jan 2007 18:15:36 +0100
Hi!
Imagine for a moment that we solve time-warp somehow. Any other
problems?
Well, a user-level daemon have to process a lot of data just to detect user
interaction. Considering that the trackpad bandwidth is nearly 5KB/sec,
probably would be better to leave my panel alone... :-/
Ok, so we may want to introduce something like "tell me if some data
came from last time"... Actually, 5KB/sec is pretty much okay, and you
probably could get around actually reading that data.
When you know user is moving the touchpad, you could just sleep for 5
seconds (assuming user activity) and only then start monitoring it
again?
I'd really like to get "is user idle" solved, but it really should not be in
kernel unless it _has_ to. And time-warp probably causes problems not only
for your daemon.
IMHO signal the user-space is a kernel duty and no user-space daemon will ever
make it better. There are plenty of PM daemons out there, but Linux still lacks
Well, I do not think your kernel code is mergeable. But bits to enable
similar functionality in userspace probably would be mergeable.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/
- Follow-Ups:
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- References:
- [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- [ANNOUNCE] System Inactivity Monitor v1.0
- Prev by Date: [PATCH] Boot loader ID for Gujin
- Next by Date: Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- Previous by thread: Re: [ANNOUNCE] System Inactivity Monitor v1.0
- Next by thread: Re: [ANNOUNCE] System Inactivity Monitor v1.0
- Index(es):
Relevant Pages
|