linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] generic-ipi: Fix misleading smp_call_function_any() description
@ 2013-07-29  3:52 Xie XiuQi
  2013-08-19  1:47 ` Xie XiuQi
  2013-08-19  9:55 ` [tip:core/locking] generic-ipi/locking: " tip-bot for Xie XiuQi
  0 siblings, 2 replies; 3+ messages in thread
From: Xie XiuQi @ 2013-07-29  3:52 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org
  Cc: Sheng Yang, Peter Zijlstra, Jens Axboe, Rusty Russell

After commit:8969a5ede0f9e17da4b943712429aef2c9bcd82b
"generic-ipi: remove kmalloc()", wait = 0 can be guaranteed.

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>
---
 kernel/smp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/smp.c b/kernel/smp.c
index fe9f773..b1c9034 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -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
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] generic-ipi: Fix misleading smp_call_function_any() description
  2013-07-29  3:52 [PATCH] generic-ipi: Fix misleading smp_call_function_any() description Xie XiuQi
@ 2013-08-19  1:47 ` Xie XiuQi
  2013-08-19  9:55 ` [tip:core/locking] generic-ipi/locking: " tip-bot for Xie XiuQi
  1 sibling, 0 replies; 3+ messages in thread
From: Xie XiuQi @ 2013-08-19  1:47 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org
  Cc: Sheng Yang, Peter Zijlstra, Jens Axboe, Rusty Russell,
	Ingo Molnar

Cc: Ingo Molnar <mingo@elte.hu>

On 2013/7/29 11:52, Xie XiuQi wrote:
> After commit:8969a5ede0f9e17da4b943712429aef2c9bcd82b
> "generic-ipi: remove kmalloc()", wait = 0 can be guaranteed.
> 
> 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>
> ---
>  kernel/smp.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/kernel/smp.c b/kernel/smp.c
> index fe9f773..b1c9034 100644
> --- a/kernel/smp.c
> +++ b/kernel/smp.c
> @@ -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
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:core/locking] generic-ipi/locking: Fix misleading smp_call_function_any() description
  2013-07-29  3:52 [PATCH] generic-ipi: Fix misleading smp_call_function_any() description Xie XiuQi
  2013-08-19  1:47 ` Xie XiuQi
@ 2013-08-19  9:55 ` tip-bot for Xie XiuQi
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Xie XiuQi @ 2013-08-19  9:55 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, rusty, a.p.zijlstra, jens.axboe,
	xiexiuqi, tglx, sheng

Commit-ID:  15e71911fcc655508e02f767a3d9b8b138051d2b
Gitweb:     http://git.kernel.org/tip/15e71911fcc655508e02f767a3d9b8b138051d2b
Author:     Xie XiuQi <xiexiuqi@huawei.com>
AuthorDate: Mon, 29 Jul 2013 11:52:24 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 19 Aug 2013 09:03:50 +0200

generic-ipi/locking: Fix misleading smp_call_function_any() description

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 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/smp.c b/kernel/smp.c
index fe9f773..b1c9034 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-19  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29  3:52 [PATCH] generic-ipi: Fix misleading smp_call_function_any() description Xie XiuQi
2013-08-19  1:47 ` Xie XiuQi
2013-08-19  9:55 ` [tip:core/locking] generic-ipi/locking: " tip-bot for Xie XiuQi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).