login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
27
Re: [PATCH 2/11] x86: convert to generic helpers for IPI function calls
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: [PATCH 2/11] x86: convert to generic helpers for IPI function calls
Date: Sunday, April 27, 2008 - 3:23 am
On Fri, Apr 25 2008, Jeremy Fitzhardinge wrote:
quoted text
> Jens Axboe wrote: > >--- a/arch/x86/kernel/smp.c > >+++ b/arch/x86/kernel/smp.c > > > [...] > >+void arch_send_call_function_single_ipi(int cpu) > > { > > > [...] > >+void arch_send_call_function_ipi(cpumask_t mask) > > { > > > [...] > >--- a/arch/x86/xen/smp.c > >+++ b/arch/x86/xen/smp.c > >+void arch_send_call_function_ipi(cpumask_t mask) > >+{ > > > [...] > >+void arch_send_call_function_single_ipi(int cpu) > >+{ > >+ xen_send_IPI_mask(cpumask_of_cpu(cpu), > >XEN_CALL_FUNCTION_SINGLE_VECTOR); > > > > Xen vs native is a runtime choice, so you can't just statically define > arch_send_call_function(_single)_ipi for each. You need to define the > arch_* functions once, make them call via smp_ops, and call into the > respective native and Xen versions of the ipi functions.
Noted, I'll add it to smp_ops (like smp_call_function_mask() was before).
quoted text
> Aside from that it looks good, with a very appealing code size reduction.
Thanks! -- Jens Axboe --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/11] Generic smp_call_function() #2
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 1/11] Add generic helpers for arch IPI function calls
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 2/11] x86: convert to generic helpers for IPI funct ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 3/11] powerpc: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 4/11] ia64: convert to generic helpers for IPI func ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 5/11] alpha: convert to generic helpers for IPI fun ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 6/11] arm: convert to generic helpers for IPI funct ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 7/11] m32r: convert to generic helpers for IPI func ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 8/11] mips: convert to generic helpers for IPI func ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 9/11] parisc: convert to generic helpers for IPI fu ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 10/11] sh: convert to generic helpers for IPI funct ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
[PATCH 11/11] s390: convert to generic helpers for IPI fun ...
, Jens Axboe
, (Tue Apr 22, 11:50 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Linus Torvalds
, (Tue Apr 22, 12:03 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Ingo Molnar
, (Tue Apr 22, 12:12 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Linus Torvalds
, (Tue Apr 22, 12:22 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Ingo Molnar
, (Tue Apr 22, 12:26 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Linus Torvalds
, (Tue Apr 22, 12:50 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Peter Zijlstra
, (Tue Apr 22, 1:17 pm)
Re: [PATCH 8/11] mips: convert to generic helpers for IPI ...
, Ralf Baechle
, (Tue Apr 22, 4:18 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Nick Piggin
, (Tue Apr 22, 6:11 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Linus Torvalds
, (Tue Apr 22, 6:22 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Nick Piggin
, (Tue Apr 22, 6:36 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 11:07 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Peter Zijlstra
, (Tue Apr 22, 11:32 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Wed Apr 23, 12:08 am)
Re: [PATCH 8/11] mips: convert to generic helpers for IPI ...
, Jens Axboe
, (Wed Apr 23, 12:18 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Wed Apr 23, 12:49 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Peter Zijlstra
, (Wed Apr 23, 12:50 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Heiko Carstens
, (Wed Apr 23, 12:58 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Jens Axboe
, (Wed Apr 23, 1:11 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Jens Axboe
, (Wed Apr 23, 4:21 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Heiko Carstens
, (Wed Apr 23, 4:47 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Jens Axboe
, (Wed Apr 23, 4:54 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Martin Schwidefsky
, (Wed Apr 23, 5:42 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Wed Apr 23, 5:54 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Rusty Russell
, (Wed Apr 23, 8:56 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Russell King
, (Thu Apr 24, 3:01 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Fri Apr 25, 12:18 am)
Re: [PATCH 10/11] sh: convert to generic helpers for IPI f ...
, Paul Mundt
, (Fri Apr 25, 1:56 am)
Re: [PATCH 10/11] sh: convert to generic helpers for IPI f ...
, Jens Axboe
, (Fri Apr 25, 2:16 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Andrew Morton
, (Fri Apr 25, 11:11 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jeremy Fitzhardinge
, (Fri Apr 25, 11:28 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jeremy Fitzhardinge
, (Fri Apr 25, 11:44 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, James Bottomley
, (Sat Apr 26, 7:13 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Paul E. McKenney
, (Sat Apr 26, 5:58 pm)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Sun Apr 27, 3:23 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Sun Apr 27, 3:30 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Sun Apr 27, 3:36 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jeremy Fitzhardinge
, (Sun Apr 27, 8:18 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jes Sorensen
, (Mon Apr 28, 12:38 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, David Howells
, (Mon Apr 28, 7:25 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, James Bottomley
, (Mon Apr 28, 7:43 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Junio C Hamano
Re: [Discussion] cherry-picking a merge
Uwe
Re: "bash: git-upload-pack: command not found" ??
Oliver Hoffmann
git init --bare versus git --bare init
linux-netdev
:
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
David Miller
Re: [net-next-2.6 PATCH 5/5] be2net: remove BUG_ON() when be2net runs out of mccq ...
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
openbsd
observed spamd behavior
Ted Unangst
Re: OpenSMTPd actual development and integration
Paul M
Corrupted RAIDFrame device
BetClic
Benfica vs Porto - Qual o seu palpite?
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
USB: rename usb_buffer_alloc() and usb_buffer_free()
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
intel_idle: native hardware cpuidle driver for latest Intel processors
Linux Kernel Mailing List
powerpc/fsl-booke: Move the entry setup code into a seperate file
Colocation donated by:
Syndicate