]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IDLETIMER: We shouldn't sleep in the timer routine
authorSamuel Ortiz <samuel.ortiz@solidboot.com>
Thu, 13 Jul 2006 12:24:25 +0000 (15:24 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Fri, 14 Jul 2006 12:21:26 +0000 (15:21 +0300)
commit6a9f264ced00390b9e10055059e5e6470778a1e4
treed19946989a35fd8596297dac4ab6e2c9478f418f
parentaf2ee19eb64cede96005ccb25a26db4729256f1b
IDLETIMER: We shouldn't sleep in the timer routine

Currently, IDLETIMER timer routine calls kobject_uevent, which might sleep.
Since we are in interrupt context, we now schedule a work when the timer
expires. This calls sysfs_notify() for notifying userspace.

Signed-off-by: Samuel Ortiz <samuel.ortiz@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
net/ipv4/netfilter/ipt_IDLETIMER.c