Skip to contentSkip to conversation

+ generic-ipi-fix-misleading-smp_call_function_any-description.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 7, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + generic-ipi-fix-misleading-smp_call_function_any-description.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 07 Aug 2013 14:35:59 -0700

The patch titled
Subject: generic-ipi: fix misleading smp_call_function_any() description
has been added to the -mm tree. Its filename is
generic-ipi-fix-misleading-smp_call_function_any-description.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/generic-ipi-fix-misleading-smp_call_function_any-description.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/generic-ipi-fix-misleading-smp_call_function_any-description.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Xie XiuQi <[email protected]>
Subject: generic-ipi: fix misleading smp_call_function_any() description

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

Cc Sheng Yang <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Rusty Russell <[email protected]>

---

 kernel/smp.c |    2 --
 1 file changed, 2 deletions(-)
kernel/smp.c renamed from kernel/smp.c~generic-ipi-fix-misleading-smp_call_function_any-description +0 -2
diff -puN kernel/smp.c~generic-ipi-fix-misleading-smp_call_function_any-description kernel/smp.c
@@ -281,8 +281,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

_

Patches currently in -mm which might be from [email protected] are

generic-ipi-fix-misleading-smp_call_function_any-description.patch linux-next.patch