]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
generic-ipi/locking: Fix misleading smp_call_function_any() description
authorXie XiuQi <xiexiuqi@huawei.com>
Mon, 29 Jul 2013 03:52:24 +0000 (11:52 +0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Aug 2013 07:03:50 +0000 (09:03 +0200)
Fix locking description: after commit 8969a5ede0f9e17da4b9437
("generic-ipi: remove kmalloc()"), wait = 0 can be guaranteed
because we don't kmalloc() anymore.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Cc: Sheng Yang <sheng@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Link: http://lkml.kernel.org/r/51F5E6F8.1000801@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/smp.c

index fe9f773d71146c82ad9c543ab0456490c9bebd0f..b1c9034bdfcb060ca7977a507f6b32dd7f8da1a1 100644 (file)
@@ -278,8 +278,6 @@ EXPORT_SYMBOL(smp_call_function_single);
  * @wait: If true, wait until function has completed.
  *
  * Returns 0 on success, else a negative status code (if no cpus were online).
- * Note that @wait will be implicitly turned on in case of allocation failures,
- * since we fall back to on-stack allocation.
  *
  * Selection preference:
  *     1) current cpu if in @mask