The patch titled cond_resched() added to close_files() has been added to the -mm tree. Its filename is cond_resched-added-to-close_files.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Eric Dumazet <dada1@xxxxxxxxxxxxx> When a process exits, it might spend a lot of time in close_files() closing thousand of files. This is bad for latency, and in some cases can trigger 'BUG: soft lockup detected on CPU#0!' 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() Signed-off-by: Eric Dumazet <dada1@xxxxxxxxxxxxx> Acked-by: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/exit.c | 1 + 1 files changed, 1 insertion(+) diff -puN kernel/exit.c~cond_resched-added-to-close_files kernel/exit.c --- 25/kernel/exit.c~cond_resched-added-to-close_files Tue May 9 10:42:17 2006 +++ 25-akpm/kernel/exit.c Tue May 9 10:42:17 2006 @@ -453,6 +453,7 @@ static void close_files(struct files_str i++; set >>= 1; } + cond_resched(); } } _ Patches currently in -mm which might be from dada1@xxxxxxxxxxxxx are cond_resched-added-to-close_files.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html