The patch titled cascade: use list_replace_init() has been added to the -mm tree. Its filename is when-config_base_samll=1-the-kernel-261611-cascade-in-kernel-timerc-may-enter-the-infinite-loop-use-list_replace_init.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Oleg Nesterov <oleg@xxxxxxxxxx> On top of Porpoise's when-config_base_samll=1-the-kernel-261611-cascade-in-kernel-timerc-may-enter-the-infinite-loop.patch Microoptimization, cascade() can use list_replace_init() instead of list_splice_init(). Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/timer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/timer.c~when-config_base_samll=1-the-kernel-261611-cascade-in-kernel-timerc-may-enter-the-infinite-loop-use-list_replace_init kernel/timer.c --- devel/kernel/timer.c~when-config_base_samll=1-the-kernel-261611-cascade-in-kernel-timerc-may-enter-the-infinite-loop-use-list_replace_init 2006-05-18 01:28:55.000000000 -0700 +++ devel-akpm/kernel/timer.c 2006-05-18 01:28:55.000000000 -0700 @@ -384,9 +384,9 @@ static int cascade(tvec_base_t *base, tv { /* cascade all the timers from tv up one level */ struct timer_list *timer, *tmp; - LIST_HEAD(tv_list); + struct list_head tv_list; - list_splice_init(tv->vec + index, &tv_list); + list_replace_init(tv->vec + index, &tv_list); /* * We are removing _all_ timers from the list, so we _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are avoid-tasklist_lock-at-getrusage-for-multithreaded-case-too.patch ptrace-document-the-locking-rules.patch list-introduce-list_replace-helper.patch list-use-list_replace_init-instead-of-list_splice_init.patch when-config_base_samll=1-the-kernel-261611-cascade-in-kernel-timerc-may-enter-the-infinite-loop.patch when-config_base_samll=1-the-kernel-261611-cascade-in-kernel-timerc-may-enter-the-infinite-loop-use-list_replace_init.patch proc-remove-tasklist_lock-from-proc_pid_readdir-simply-fix-first_tgid.patch proc-dont-lock-task_structs-indefinitely.patch proc-dont-lock-task_structs-indefinitely-task_mmu-small-fixes.patch simplify-fix-first_tid.patch cleanup-next_tid.patch de_thread-fix-lockless-do_each_thread.patch coredump-optimize-mm-users-traversal.patch coredump-speedup-sigkill-sending.patch coredump-kill-ptrace-related-stuff.patch coredump-kill-ptrace-related-stuff-fix.patch coredump-dont-take-tasklist_lock.patch coredump-some-code-relocations.patch coredump-shutdown-current-process-first.patch coredump-copy_process-dont-check-signal_group_exit.patch pidhash-temporary-debug-checks.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