On 2019-11-12 16:44, Florian Westphal wrote:
Manoj Basapathi <manojbm@xxxxxxxxxxxxxx> wrote:
When the timer expires, the target module sends a sysfs notification
to the userspace, which can then decide what to do (eg. disconnect to
save power)
Compared to xt_IDLETIMER, xt_HARDIDLETIMER can send notifications when
CPU is in suspend too, to notify the timer expiry.
Would it make sense to add this feature to IDLETIMER instead of a new
module? AFAICS there is a lot of boilerplate overlap between those two.