On Wed, 2 May 2007, Pallipadi, Venkatesh wrote: > Can this use 'deferrable timer' along with round_jiffies. That > will eliminate the issue of too frequent interrupt when CPU is idle.
Yes I asked Arjan about this. > >+ struct delayed_work *vmstat_work = &per_cpu(vmstat_work, cpu); > >+ > >+ INIT_DELAYED_WORK(vmstat_work, vmstat_update); > > This change alone should help. > INIT_DELAYED_WORK_DEFERRABLE(vmstat_work, vmstat_update); > Hmmm.. I need to check out what this does exactly. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/