Re: [linux-pm] sleepy linux self-test
From: David Brownell
Date: Sun Feb 03 2008 - 17:42:34 EST
> > See the appended; it includes more of Ingo's suggestions.
> >
> > Since this is increasingly unrelated to the "sleepy linux" concept
> > (a version of what systems like OLPC, N700, and N800 are doing), I
> > got rid of the "sleepy.c" file.
>
> The changes look good to me.
They feel unfinished to me though. :)
Like using "jiffies" instead of a clocksource, which makes trouble
since the timing covers periods with IRQs disabled. And the test
mode parameter needs work.
> Well, it would be nice to have this feature in as soon as reasonably possible,
> so that people can include suspend tests in the automated testing.
Except ... "rtcwake" (from util-linux-ng) already supports such
testing, albeit from userspace. But not the timing tests.
What was the rationale for wanting this done in-kernel? (Other
than to know it can work portably.)
- Dave
--
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/