[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1110211308130.13493@asgard.lang.hm>
Date: Fri, 21 Oct 2011 13:10:10 -0700 (PDT)
From: david@...g.hm
To: NeilBrown <neilb@...e.de>
cc: Alan Stern <stern@...land.harvard.edu>,
John Stultz <john.stultz@...aro.org>,
"Rafael J. Wysocki" <rjw@...k.pl>,
mark gross <markgross@...gnar.org>,
Linux PM list <linux-pm@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: lsusd - The Linux SUSpend Daemon
On Fri, 21 Oct 2011, NeilBrown wrote:
> Hi,
>
> I wasn't going to do this... but then I did. I think that sometimes coding is
> a bit like chocolate.
>
> At:
> git://neil.brown.name/lsusd
> or
> http://neil.brown.name/git/lsusd
>
> you can find a bunch of proof-of-concept sample code that implements a
> "Linux SUSpend Daemon" with client support library and test programs.
>
> I haven't actually tested it as root and had it actually suspend and resume
> and definitely haven't had it even close to a race condition, but the
> various bits seem to work with each other properly when I run them under
> strace and watch.
>
> It didn't turn out quite the way I imagined, but then cold harsh reality has
> a way of destroying our dreams, doesn't it :-)
>
>
> Below is the README file. Comment welcome as always.
> I'm happy for patches too, but I'm equally happy for someone to re-write it
> completely and make something really useful and maintainable.
have you put any thought into the idea of extending this slightly to
handle the userspace wakelock interface to potentially allow this to run
android userspace on a stock kernel?
I realize that there are other things that would be needed as well, but
the wakelock interface is a biggie.
David Lang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists