RE: unnecessary timer interrupt of slab.c and bdi tasks when thesystem is in sleep state

From: Van De Ven, Arjan
Date: Fri Oct 01 2010 - 11:20:31 EST



> > the slab timer is already deferable... which means it won't hit while
> the system is completely idle.
>
>
> I'm not sure what you mean exactly. The slab work seems to be scheduled
> strictly
> periodically, unless the cpu goes offline. But I can't find any nohz-
> wise adaptation.
>

INIT_DELAYED_WORK_DEFERRABLE(reap_work, cache_reap);

that will cause it to only run when the cpu is actually idle...

--
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/