From: Todd P. <tod...@gm...> - 2007-03-21 05:49:38
|
On 3/19/07, Manish RATHI <man...@st...> wrote: > If I update only xtime not jiffies then any maturing timer started before > going sleep mode behave wrongly. I thought I had previously seen Linux kernel developers come down against jiffies updates for sleep intervals, but it seems there's examples of both in the tree for different architectures. If there's actions on the timer list that need to occur at some precise relative time after the system just woke up from an arbitrarily long period of complete inactivity then I'd be interested to hear about these; I'm guessing it doesn't much matter either way. If there's an action that needs to occur at some absolute time then it would normally be triggered by an RTC wakeup that pulls the system out of sleep at the appropriate time (if still asleep). > In OMAP/PXA is it possible to take system in sleep mode thru sysfs if yes > then ehere this sysfs file > Reside? See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/ABI/testing/sysfs-power;h=dcff4d0623add0e7708c642d0cfe210b0c1f48ab;hb=HEAD for the generic description. Look for arch-specific code that registers pm_ops, for example, http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm/mach-pxa/pm.c;h=b4d8276d6050b1e34d16c06153228f03c0b113a3;hb=HEAD for the PXA implementation. -- Todd |