[folded-merged] watchdog-update-watchdog_tresh-properly-fix.patch removed from -mm tree

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

 



Subject: [folded-merged] watchdog-update-watchdog_tresh-properly-fix.patch removed from -mm tree
To: mhocko@xxxxxxx,fengguang.wu@xxxxxxxxx,festevam@xxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Fri, 13 Sep 2013 14:07:11 -0700


The patch titled
     Subject: include/linux/smp.h: define __smp_call_function_single for !CONFIG_SMP
has been removed from the -mm tree.  Its filename was
     watchdog-update-watchdog_tresh-properly-fix.patch

This patch was dropped because it was folded into watchdog-update-watchdog_tresh-properly.patch

------------------------------------------------------
From: Michal Hocko <mhocko@xxxxxxx>
Subject: include/linux/smp.h: define __smp_call_function_single for !CONFIG_SMP

This function was not needed until (watchdog: update watchdog_tresh
properly) which cannot use on_each_cpu unfortunately as
watchdog_nmi_enable relies on perf_event_alloc which is might sleep.

Export it as an alias to on_each_cpu for !CONFIG_SMP.

Signed-off-by: Michal Hocko <mhocko@xxxxxxx>
Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Reported-by: Fabio Estevam <festevam@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/smp.h |    6 ++++++
 1 file changed, 6 insertions(+)

diff -puN include/linux/smp.h~watchdog-update-watchdog_tresh-properly-fix include/linux/smp.h
--- a/include/linux/smp.h~watchdog-update-watchdog_tresh-properly-fix
+++ a/include/linux/smp.h
@@ -157,6 +157,12 @@ static inline void kick_all_cpus_sync(vo
 
 #endif /* !SMP */
 
+static inline void __smp_call_function_single(int cpuid,
+		struct call_single_data *data, int wait)
+{
+	on_each_cpu(data->func, data->info, wait);
+}
+
 /*
  * smp_processor_id(): get the current CPU ID.
  *
_

Patches currently in -mm which might be from mhocko@xxxxxxx are

origin.patch
watchdog-update-watchdog-attributes-atomically.patch
watchdog-update-watchdog_tresh-properly.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