The patch titled
     softlockup: fix a potential race condition in watchdog()
has been removed from the -mm tree.  Its filename was
     softlockup-fix-a-potential-race-condition-in-watchdog.patch

This patch was dropped because it is obsolete

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: softlockup: fix a potential race condition in watchdog()
From: Dmitry Adamushko <[EMAIL PROTECTED]>

kthread_stop() can be called when a 'watchdog' thread is executing after
kthread_should_stop() but before set_task_state(TASK_INTERRUPTIBLE).

Signed-off-by: Dmitry Adamushko <[EMAIL PROTECTED]>
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 kernel/softlockup.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN 
kernel/softlockup.c~softlockup-fix-a-potential-race-condition-in-watchdog 
kernel/softlockup.c
--- a/kernel/softlockup.c~softlockup-fix-a-potential-race-condition-in-watchdog
+++ a/kernel/softlockup.c
@@ -98,6 +98,7 @@ void softlockup_tick(void)
                touch_softlockup_watchdog();
                return;
        }
+       printk(KERN_ERR "watchdog(cpu: %d) -- exit\n", this_cpu);
 
        now = get_timestamp(this_cpu);
 
@@ -289,6 +290,7 @@ cpu_callback(struct notifier_block *nfb,
        case CPU_DEAD_FROZEN:
                p = per_cpu(watchdog_task, hotcpu);
                per_cpu(watchdog_task, hotcpu) = NULL;
+               printk(KERN_ERR "kthread_stop(watchdog on cpu: %d)\n", hotcpu);
                kthread_stop(p);
                break;
 #endif /* CONFIG_HOTPLUG_CPU */
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
softlockup-fix-a-potential-race-condition-in-watchdog.patch
softlockup-fix-a-potential-race-condition-in-watchdog-2.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to