- softlockup-fix-a-potential-race-condition-in-watchdog.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dmitry.adamushko@xxxxxxxxx>

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 <dmitry.adamushko@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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 dmitry.adamushko@xxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux