Re: [PATCH] Move cache_reap out of timer context

From: Ingo Molnar
Date: Sat Jul 17 2004 - 13:53:51 EST



* Dimitri Sivanich <sivanich@xxxxxxx> wrote:

> I'm submitting two patches associated with moving cache_reap
> functionality out of timer context. Note that these patches do not
> make any further optimizations to cache_reap at this time.
>
> The first patch adds a function similiar to schedule_delayed_work to
> allow work to be scheduled on another cpu.
>
> The second patch makes use of schedule_delayed_work_on to schedule
> cache_reap to run from keventd.
>
> These patches apply to 2.6.8-rc1.
>
> Signed-off-by: Dimitri Sivanich <sivanich@xxxxxxx>

looks good to me and i agree with moving this unbound execution-time
function out of irq context. I suspect this should see some -mm testing
first/too?

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