[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1348680043-5077-11-git-send-email-laijs@cn.fujitsu.com>
Date: Thu, 27 Sep 2012 01:20:41 +0800
From: Lai Jiangshan <laijs@...fujitsu.com>
To: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Cc: Lai Jiangshan <laijs@...fujitsu.com>,
Rob Landley <rob@...dley.net>, linux-doc@...r.kernel.org
Subject: [PATCH 10/12] cpu-hotplug.txt: fix comments of work_on_cpu()
This is a tiny fix of the comments of work_on_cpu() which is changed
back to use workqueue and it can be run at some time.
Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
---
Documentation/cpu-hotplug.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt
index 66ef8f3..d19c5fd 100644
--- a/Documentation/cpu-hotplug.txt
+++ b/Documentation/cpu-hotplug.txt
@@ -317,7 +317,7 @@ Q: I need to ensure that a particular cpu is not removed when there is some
work specific to this cpu is in progress.
A: There are two ways. If your code can be run in interrupt context, use
smp_call_function_single(), otherwise use work_on_cpu(). Note that
- work_on_cpu() is slow, and can fail due to out of memory:
+ work_on_cpu() is slow:
int my_func_on_cpu(int cpu)
{
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists