public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i386: Simplify smp_call_function*() by using common implementation
@ 2007-03-13  1:12 Jeremy Fitzhardinge
  2007-03-15 19:08 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-13  1:12 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Linux Kernel Mailing List, Ingo Molnar, Stephane Eranian,
	Andrew Morton, Randy.Dunlap

Subject: Simplify smp_call_function*() by using common implementation

smp_call_function and smp_call_function_single are almost complete
duplicates of the same logic.  This patch combines them by
implementing them in terms of the more general
smp_call_function_mask().

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Stephane Eranian <eranian@hpl.hp.com>
Cc: Andrew Morton <akpm@osdl.org>
Cc: Andi Kleen <ak@suse.de>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: Ingo Molnar <mingo@elte.hu>

---
 arch/i386/kernel/smp.c |  213 ++++++++++++++++++++++--------------------------
 1 file changed, 102 insertions(+), 111 deletions(-)

===================================================================
--- a/arch/i386/kernel/smp.c
+++ b/arch/i386/kernel/smp.c
@@ -515,6 +515,73 @@ void unlock_ipi_call_lock(void)
 
 static struct call_data_struct *call_data;
 
+
+/**
+ * smp_call_function_mask(): Run a function on a set of other CPUs.
+ * @mask: The set of cpus to run on.  Must not include the current cpu.
+ * @func: The function to run. This must be fast and non-blocking.
+ * @info: An arbitrary pointer to pass to the function.
+ * @wait: If true, wait (atomically) until function has completed on other CPUs.
+ *
+ * Returns 0 on success, else a negative status code. Does not return until
+ * remote CPUs are nearly ready to execute <<func>> or are or have finished.
+ *
+ * You must not call this function with disabled interrupts or from a
+ * hardware interrupt handler or from a bottom half handler.
+ */
+int smp_call_function_mask(cpumask_t mask,
+			   void (*func)(void *), void *info,
+			   int wait)
+{
+	struct call_data_struct data;
+	cpumask_t allbutself;
+	int cpus;
+
+	/* Can deadlock when called with interrupts disabled */
+	WARN_ON(irqs_disabled());
+
+	/* Holding any lock stops cpus from going down. */
+	spin_lock(&call_lock);
+
+	allbutself = cpu_online_map;
+	cpu_clear(smp_processor_id(), allbutself);
+
+	cpus_and(mask, mask, allbutself);
+	cpus = cpus_weight(mask);
+
+	if (!cpus) {
+		spin_unlock(&call_lock);
+		return 0;
+	}
+
+	data.func = func;
+	data.info = info;
+	atomic_set(&data.started, 0);
+	data.wait = wait;
+	if (wait)
+		atomic_set(&data.finished, 0);
+
+	call_data = &data;
+	mb();
+
+	/* Send a message to other CPUs */
+	if (cpus_equal(mask, allbutself))
+		send_IPI_allbutself(CALL_FUNCTION_VECTOR);
+	else
+		send_IPI_mask(mask, CALL_FUNCTION_VECTOR);
+
+	/* Wait for response */
+	while (atomic_read(&data.started) != cpus)
+		cpu_relax();
+
+	if (wait)
+		while (atomic_read(&data.finished) != cpus)
+			cpu_relax();
+	spin_unlock(&call_lock);
+
+	return 0;
+}
+
 /**
  * smp_call_function(): Run a function on all other CPUs.
  * @func: The function to run. This must be fast and non-blocking.
@@ -528,48 +595,43 @@ static struct call_data_struct *call_dat
  * You must not call this function with disabled interrupts or from a
  * hardware interrupt handler or from a bottom half handler.
  */
-int smp_call_function (void (*func) (void *info), void *info, int nonatomic,
-			int wait)
-{
-	struct call_data_struct data;
-	int cpus;
-
-	/* Holding any lock stops cpus from going down. */
-	spin_lock(&call_lock);
-	cpus = num_online_cpus() - 1;
-	if (!cpus) {
-		spin_unlock(&call_lock);
-		return 0;
-	}
-
-	/* Can deadlock when called with interrupts disabled */
-	WARN_ON(irqs_disabled());
-
-	data.func = func;
-	data.info = info;
-	atomic_set(&data.started, 0);
-	data.wait = wait;
-	if (wait)
-		atomic_set(&data.finished, 0);
-
-	call_data = &data;
-	mb();
-	
-	/* Send a message to all other CPUs and wait for them to respond */
-	send_IPI_allbutself(CALL_FUNCTION_VECTOR);
-
-	/* Wait for response */
-	while (atomic_read(&data.started) != cpus)
-		cpu_relax();
-
-	if (wait)
-		while (atomic_read(&data.finished) != cpus)
-			cpu_relax();
-	spin_unlock(&call_lock);
-
-	return 0;
+int smp_call_function(void (*func) (void *info), void *info, int nonatomic,
+		      int wait)
+{
+	return smp_call_function_mask(cpu_online_map, func, info, wait);
 }
 EXPORT_SYMBOL(smp_call_function);
+
+/*
+ * smp_call_function_single - Run a function on another CPU
+ * @func: The function to run. This must be fast and non-blocking.
+ * @info: An arbitrary pointer to pass to the function.
+ * @nonatomic: Currently unused.
+ * @wait: If true, wait until function has completed on other CPUs.
+ *
+ * Retrurns 0 on success, else a negative status code.
+ *
+ * Does not return until the remote CPU is nearly ready to execute <func>
+ * or is or has executed.
+ */
+int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
+			     int nonatomic, int wait)
+{
+	/* prevent preemption and reschedule on another processor */
+	int ret;
+	int me = get_cpu();
+	if (cpu == me) {
+		WARN_ON(1);
+		put_cpu();
+		return -EBUSY;
+	}
+
+	ret = smp_call_function_mask(cpumask_of_cpu(cpu), func, info, wait);
+
+	put_cpu();
+	return ret;
+}
+EXPORT_SYMBOL(smp_call_function_single);
 
 static void stop_this_cpu (void * dummy)
 {
@@ -633,77 +695,6 @@ fastcall void smp_call_function_interrup
 	}
 }
 
-/*
- * this function sends a 'generic call function' IPI to one other CPU
- * in the system.
- *
- * cpu is a standard Linux logical CPU number.
- */
-static void
-__smp_call_function_single(int cpu, void (*func) (void *info), void *info,
-				int nonatomic, int wait)
-{
-	struct call_data_struct data;
-	int cpus = 1;
-
-	data.func = func;
-	data.info = info;
-	atomic_set(&data.started, 0);
-	data.wait = wait;
-	if (wait)
-		atomic_set(&data.finished, 0);
-
-	call_data = &data;
-	wmb();
-	/* Send a message to all other CPUs and wait for them to respond */
-	send_IPI_mask(cpumask_of_cpu(cpu), CALL_FUNCTION_VECTOR);
-
-	/* Wait for response */
-	while (atomic_read(&data.started) != cpus)
-		cpu_relax();
-
-	if (!wait)
-		return;
-
-	while (atomic_read(&data.finished) != cpus)
-		cpu_relax();
-}
-
-/*
- * smp_call_function_single - Run a function on another CPU
- * @func: The function to run. This must be fast and non-blocking.
- * @info: An arbitrary pointer to pass to the function.
- * @nonatomic: Currently unused.
- * @wait: If true, wait until function has completed on other CPUs.
- *
- * Retrurns 0 on success, else a negative status code.
- *
- * Does not return until the remote CPU is nearly ready to execute <func>
- * or is or has executed.
- */
-
-int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
-			int nonatomic, int wait)
-{
-	/* prevent preemption and reschedule on another processor */
-	int me = get_cpu();
-	if (cpu == me) {
-		WARN_ON(1);
-		put_cpu();
-		return -EBUSY;
-	}
-
-	/* Can deadlock when called with interrupts disabled */
-	WARN_ON(irqs_disabled());
-
-	spin_lock_bh(&call_lock);
-	__smp_call_function_single(cpu, func, info, nonatomic, wait);
-	spin_unlock_bh(&call_lock);
-	put_cpu();
-	return 0;
-}
-EXPORT_SYMBOL(smp_call_function_single);
-
 static int convert_apicid_to_cpu(int apic_id)
 {
 	int i;


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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-13  1:12 [PATCH] i386: Simplify smp_call_function*() by using common implementation Jeremy Fitzhardinge
@ 2007-03-15 19:08 ` Andrew Morton
  2007-03-15 19:15   ` Jeremy Fitzhardinge
  2007-03-15 23:25   ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 10+ messages in thread
From: Andrew Morton @ 2007-03-15 19:08 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: ak, linux-kernel, mingo, eranian, rdunlap

> On Mon, 12 Mar 2007 18:12:55 -0700 Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> Subject: Simplify smp_call_function*() by using common implementation
> 
> smp_call_function and smp_call_function_single are almost complete
> duplicates of the same logic.  This patch combines them by
> implementing them in terms of the more general
> smp_call_function_mask().

Hopeless, sorry.   It's probably time to start thinking about raising x86
patches against the x86 tree (at least).

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 19:08 ` Andrew Morton
@ 2007-03-15 19:15   ` Jeremy Fitzhardinge
  2007-03-15 19:33     ` Andrew Morton
  2007-03-15 23:25   ` Jeremy Fitzhardinge
  1 sibling, 1 reply; 10+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-15 19:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: ak, linux-kernel, mingo, eranian, rdunlap

Andrew Morton wrote:
> Hopeless, sorry.   It's probably time to start thinking about raising x86
> patches against the x86 tree (at least).
>   

You mean this conflicts heavily with your and/or andi's tree?

    J

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 19:15   ` Jeremy Fitzhardinge
@ 2007-03-15 19:33     ` Andrew Morton
  2007-03-15 19:39       ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2007-03-15 19:33 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: ak, linux-kernel, mingo, eranian, rdunlap

On Thu, 15 Mar 2007 12:15:59 -0700 Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Andrew Morton wrote:
> > Hopeless, sorry.   It's probably time to start thinking about raising x86
> > patches against the x86 tree (at least).
> >   
> 
> You mean this conflicts heavily with your and/or andi's tree?
> 

Yup.  There is a huge and growing amount of outstanding x86 work.  As
always.  Developing against mainline is very optimistic.

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 19:33     ` Andrew Morton
@ 2007-03-15 19:39       ` Jeremy Fitzhardinge
  2007-03-15 20:55         ` Andi Kleen
  0 siblings, 1 reply; 10+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-15 19:39 UTC (permalink / raw)
  To: Andrew Morton; +Cc: ak, linux-kernel, mingo, eranian, rdunlap

Andrew Morton wrote:
> Yup.  There is a huge and growing amount of outstanding x86 work.  As
> always.  Developing against mainline is very optimistic.
>   

Sigh.  Are you including Andi's patchset in -mm?  Should I rebase to
-mm, or try to keep track of Andi's patchset?

    J

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 20:55         ` Andi Kleen
@ 2007-03-15 20:16           ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 10+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-15 20:16 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Andrew Morton, linux-kernel, mingo, eranian, rdunlap, Jan Beulich

Andi Kleen wrote:
> I already got that patch, but haven't synced it out yet.

My patch?  I just rebased it against Jan's patch
(x86_64-mm-consolidate-smp_send_stop.patch) which was causing the
conflict.  Do you want that version instead?


    J

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 19:39       ` Jeremy Fitzhardinge
@ 2007-03-15 20:55         ` Andi Kleen
  2007-03-15 20:16           ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 10+ messages in thread
From: Andi Kleen @ 2007-03-15 20:55 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Andrew Morton, linux-kernel, mingo, eranian, rdunlap

Jeremy Fitzhardinge <jeremy@goop.org> writes:

> Andrew Morton wrote:
> > Yup.  There is a huge and growing amount of outstanding x86 work.  As
> > always.  Developing against mainline is very optimistic.
> >   
> 
> Sigh.  Are you including Andi's patchset in -mm?  Should I rebase to
> -mm, or try to keep track of Andi's patchset?

I already got that patch, but haven't synced it out yet.

-Andi

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 19:08 ` Andrew Morton
  2007-03-15 19:15   ` Jeremy Fitzhardinge
@ 2007-03-15 23:25   ` Jeremy Fitzhardinge
  2007-03-16  8:32     ` Ingo Molnar
  2007-03-16 11:26     ` Andi Kleen
  1 sibling, 2 replies; 10+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-15 23:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: ak, linux-kernel, mingo, eranian, rdunlap, Jan Beulich

Andrew Morton wrote:
> Hopeless, sorry.   It's probably time to start thinking about raising x86
> patches against the x86 tree (at least).
>   

How's this?

    J

Subject: Simplify smp_call_function*() by using common implementation

smp_call_function and smp_call_function_single are almost complete
duplicates of the same logic.  This patch combines them by
implementing them in terms of the more general
smp_call_function_mask().

[ Jan, Andi: This only changes arch/i386; can x86_64 be changed in the
  same way? ]

[ Rebased onto Jan's x86_64-mm-consolidate-smp_send_stop patch ]

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Stephane Eranian <eranian@hpl.hp.com>
Cc: Andrew Morton <akpm@osdl.org>
Cc: Andi Kleen <ak@suse.de>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: Ingo Molnar <mingo@elte.hu>

---
 arch/i386/kernel/smp.c |  177 +++++++++++++++++++++++-------------------------
 1 file changed, 86 insertions(+), 91 deletions(-)

===================================================================
--- a/arch/i386/kernel/smp.c
+++ b/arch/i386/kernel/smp.c
@@ -515,14 +515,26 @@ void unlock_ipi_call_lock(void)
 
 static struct call_data_struct *call_data;
 
-static void __smp_call_function(void (*func) (void *info), void *info,
-				int nonatomic, int wait)
+
+static int __smp_call_function_mask(cpumask_t mask,
+				    void (*func)(void *), void *info,
+				    int wait)
 {
 	struct call_data_struct data;
-	int cpus = num_online_cpus() - 1;
+	cpumask_t allbutself;
+	int cpus;
+
+	/* Can deadlock when called with interrupts disabled */
+	WARN_ON(irqs_disabled());
+
+	allbutself = cpu_online_map;
+	cpu_clear(smp_processor_id(), allbutself);
+
+	cpus_and(mask, mask, allbutself);
+	cpus = cpus_weight(mask);
 
 	if (!cpus)
-		return;
+		return 0;
 
 	data.func = func;
 	data.info = info;
@@ -533,9 +545,12 @@ static void __smp_call_function(void (*f
 
 	call_data = &data;
 	mb();
-	
-	/* Send a message to all other CPUs and wait for them to respond */
-	send_IPI_allbutself(CALL_FUNCTION_VECTOR);
+
+	/* Send a message to other CPUs */
+	if (cpus_equal(mask, allbutself))
+		send_IPI_allbutself(CALL_FUNCTION_VECTOR);
+	else
+		send_IPI_mask(mask, CALL_FUNCTION_VECTOR);
 
 	/* Wait for response */
 	while (atomic_read(&data.started) != cpus)
@@ -544,6 +559,34 @@ static void __smp_call_function(void (*f
 	if (wait)
 		while (atomic_read(&data.finished) != cpus)
 			cpu_relax();
+
+	return 0;
+}
+
+/**
+ * smp_call_function_mask(): Run a function on a set of other CPUs.
+ * @mask: The set of cpus to run on.  Must not include the current cpu.
+ * @func: The function to run. This must be fast and non-blocking.
+ * @info: An arbitrary pointer to pass to the function.
+ * @wait: If true, wait (atomically) until function has completed on other CPUs.
+ *
+ * Returns 0 on success, else a negative status code. Does not return until
+ * remote CPUs are nearly ready to execute <<func>> or are or have finished.
+ *
+ * You must not call this function with disabled interrupts or from a
+ * hardware interrupt handler or from a bottom half handler.
+ */
+int smp_call_function_mask(cpumask_t mask,
+			     void (*func)(void *), void *info,
+			     int wait)
+{
+	int ret;
+
+	spin_lock(&call_lock);
+	ret = __smp_call_function_mask(mask, func, info, wait);
+	spin_unlock(&call_lock);
+
+	return ret;
 }
 
 /**
@@ -559,20 +602,43 @@ static void __smp_call_function(void (*f
  * You must not call this function with disabled interrupts or from a
  * hardware interrupt handler or from a bottom half handler.
  */
-int smp_call_function (void (*func) (void *info), void *info, int nonatomic,
-			int wait)
-{
-	/* Can deadlock when called with interrupts disabled */
-	WARN_ON(irqs_disabled());
-
-	/* Holding any lock stops cpus from going down. */
-	spin_lock(&call_lock);
-	__smp_call_function(func, info, nonatomic, wait);
-	spin_unlock(&call_lock);
-
-	return 0;
+int smp_call_function(void (*func) (void *info), void *info, int nonatomic,
+		      int wait)
+{
+	return smp_call_function_mask(cpu_online_map, func, info, wait);
 }
 EXPORT_SYMBOL(smp_call_function);
+
+/*
+ * smp_call_function_single - Run a function on another CPU
+ * @func: The function to run. This must be fast and non-blocking.
+ * @info: An arbitrary pointer to pass to the function.
+ * @nonatomic: Currently unused.
+ * @wait: If true, wait until function has completed on other CPUs.
+ *
+ * Retrurns 0 on success, else a negative status code.
+ *
+ * Does not return until the remote CPU is nearly ready to execute <func>
+ * or is or has executed.
+ */
+int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
+			     int nonatomic, int wait)
+{
+	/* prevent preemption and reschedule on another processor */
+	int ret;
+	int me = get_cpu();
+	if (cpu == me) {
+		WARN_ON(1);
+		put_cpu();
+		return -EBUSY;
+	}
+
+	ret = smp_call_function_mask(cpumask_of_cpu(cpu), func, info, wait);
+
+	put_cpu();
+	return ret;
+}
+EXPORT_SYMBOL(smp_call_function_single);
 
 static void stop_this_cpu (void * dummy)
 {
@@ -598,7 +664,7 @@ void smp_send_stop(void)
 	unsigned long flags;
 
 	local_irq_save(flags);
-	__smp_call_function(stop_this_cpu, NULL, 0, 0);
+	__smp_call_function_mask(cpu_online_map, stop_this_cpu, NULL, 0);
 	if (!nolock)
 		spin_unlock(&call_lock);
 	disable_local_APIC();
@@ -641,77 +707,6 @@ fastcall void smp_call_function_interrup
 	}
 }
 
-/*
- * this function sends a 'generic call function' IPI to one other CPU
- * in the system.
- *
- * cpu is a standard Linux logical CPU number.
- */
-static void
-__smp_call_function_single(int cpu, void (*func) (void *info), void *info,
-				int nonatomic, int wait)
-{
-	struct call_data_struct data;
-	int cpus = 1;
-
-	data.func = func;
-	data.info = info;
-	atomic_set(&data.started, 0);
-	data.wait = wait;
-	if (wait)
-		atomic_set(&data.finished, 0);
-
-	call_data = &data;
-	wmb();
-	/* Send a message to all other CPUs and wait for them to respond */
-	send_IPI_mask(cpumask_of_cpu(cpu), CALL_FUNCTION_VECTOR);
-
-	/* Wait for response */
-	while (atomic_read(&data.started) != cpus)
-		cpu_relax();
-
-	if (!wait)
-		return;
-
-	while (atomic_read(&data.finished) != cpus)
-		cpu_relax();
-}
-
-/*
- * smp_call_function_single - Run a function on another CPU
- * @func: The function to run. This must be fast and non-blocking.
- * @info: An arbitrary pointer to pass to the function.
- * @nonatomic: Currently unused.
- * @wait: If true, wait until function has completed on other CPUs.
- *
- * Retrurns 0 on success, else a negative status code.
- *
- * Does not return until the remote CPU is nearly ready to execute <func>
- * or is or has executed.
- */
-
-int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
-			int nonatomic, int wait)
-{
-	/* prevent preemption and reschedule on another processor */
-	int me = get_cpu();
-	if (cpu == me) {
-		WARN_ON(1);
-		put_cpu();
-		return -EBUSY;
-	}
-
-	/* Can deadlock when called with interrupts disabled */
-	WARN_ON(irqs_disabled());
-
-	spin_lock_bh(&call_lock);
-	__smp_call_function_single(cpu, func, info, nonatomic, wait);
-	spin_unlock_bh(&call_lock);
-	put_cpu();
-	return 0;
-}
-EXPORT_SYMBOL(smp_call_function_single);
-
 static int convert_apicid_to_cpu(int apic_id)
 {
 	int i;


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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 23:25   ` Jeremy Fitzhardinge
@ 2007-03-16  8:32     ` Ingo Molnar
  2007-03-16 11:26     ` Andi Kleen
  1 sibling, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2007-03-16  8:32 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Andrew Morton, ak, linux-kernel, eranian, rdunlap, Jan Beulich


* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Subject: Simplify smp_call_function*() by using common implementation
> 
> smp_call_function and smp_call_function_single are almost complete 
> duplicates of the same logic.  This patch combines them by 
> implementing them in terms of the more general 
> smp_call_function_mask().

> +	/* Send a message to other CPUs */
> +	if (cpus_equal(mask, allbutself))
> +		send_IPI_allbutself(CALL_FUNCTION_VECTOR);
> +	else
> +		send_IPI_mask(mask, CALL_FUNCTION_VECTOR);

this is a bit ugly, but i guess we cannot do much about it - the 
hardware side handles this in a bit assymetric way too.

Acked-by: Ingo Molnar <mingo@elte.hu>

	Ingo

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

* Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation
  2007-03-15 23:25   ` Jeremy Fitzhardinge
  2007-03-16  8:32     ` Ingo Molnar
@ 2007-03-16 11:26     ` Andi Kleen
  1 sibling, 0 replies; 10+ messages in thread
From: Andi Kleen @ 2007-03-16 11:26 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Andrew Morton, linux-kernel, mingo, eranian, rdunlap, Jan Beulich


> [ Jan, Andi: This only changes arch/i386; can x86_64 be changed in the
>   same way? ]
>
> [ Rebased onto Jan's x86_64-mm-consolidate-smp_send_stop patch ]

I already got the earlier patch of yours, but not Jan's patch :/
I'll sort it out.

-Andi

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

end of thread, other threads:[~2007-03-16 11:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13  1:12 [PATCH] i386: Simplify smp_call_function*() by using common implementation Jeremy Fitzhardinge
2007-03-15 19:08 ` Andrew Morton
2007-03-15 19:15   ` Jeremy Fitzhardinge
2007-03-15 19:33     ` Andrew Morton
2007-03-15 19:39       ` Jeremy Fitzhardinge
2007-03-15 20:55         ` Andi Kleen
2007-03-15 20:16           ` Jeremy Fitzhardinge
2007-03-15 23:25   ` Jeremy Fitzhardinge
2007-03-16  8:32     ` Ingo Molnar
2007-03-16 11:26     ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox