Re: [RFC, PATCH] cond_resched() added to close_files()

From: Ingo Molnar
Date: Wed May 03 2006 - 02:56:45 EST



* Eric Dumazet <dada1@xxxxxxxxxxxxx> wrote:

> This patch makes sure a cond_resched() call is done every 32 (or 64)
> files closed. This also helps reducing number of files waiting in RCU
> queues for final freeing as call_rcu() might have called
> force_quiescent_state()

the -rt tree already has this latency breaker (and had it for a long
time), it just somehow didnt get pushed upstream.

> Signed-off-by: Eric Dumazet <dada1@xxxxxxxxxxxxx>

Acked-by: Ingo Molnar <mingo@xxxxxxx>

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/