login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
22
Re: [PATCH 0/11] Generic smp_call_function() and friends
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: [PATCH 0/11] Generic smp_call_function() and friends
Date: Tuesday, April 22, 2008 - 1:48 am
On Tue, 2008-04-22 at 09:57 +0200, Jens Axboe wrote:
quoted text
> Hi, > > While working on the more scalable and faster > smp_call_function_single(), the amount of arch duplicated code in there > botherered me. So I started adding a generic kernel/smp.c helper that > the archs could use instead. > > Arch code exports two helper functions: > > arch_send_call_function_single_ipi(cpu) > Send call function single ipi to given cpu > arch_send_call_function_ipi(cpumask) > Send call function ipi to cpus in cpumask > > and then use the generic ipi interrupt helpers to execute the code. I > converted most of the archs capable of SMP, I think only sparc and > sparc64 are still missing. Archs set CONFIG_GENERIC_SMP_HELPERS if they > wish to use the generic helpers for this. > > The end result is that we have unified code for handling ipi for > function calls. Even with adding special handling for the single cpu > function call, the diffstat is pretty nice (see below.
Real nice work Jens! --
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() and friends
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 1/11] Add generic helpers for arch IPI function calls
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 2/11] x86: convert to generic helpers for IPI funct ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 3/11] powerpc: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 4/11] ia64: convert to generic helpers for IPI func ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 5/11] alpha: convert to generic helpers for IPI fun ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 6/11] arm: convert to generic helpers for IPI funct ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 7/11] m32r: convert to generic helpers for IPI func ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 8/11] mips: convert to generic helpers for IPI func ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 9/11] parisc: convert to generic helpers for IPI fu ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 10/11] sh: convert to generic helpers for IPI funct ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 11/11] s390: convert to generic helpers for IPI fun ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
[PATCH 11/11] s390: convert to generic helpers for IPI fun ...
, Jens Axboe
, (Tue Apr 22, 12:57 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Martin Schwidefsky
, (Tue Apr 22, 1:04 am)
Re: [PATCH 11/11] s390: convert to generic helpers for IPI ...
, Jens Axboe
, (Tue Apr 22, 1:07 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Sam Ravnborg
, (Tue Apr 22, 1:38 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 1:43 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Ingo Molnar
, (Tue Apr 22, 1:47 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jacek Luczak
, (Tue Apr 22, 1:48 am)
Re: [PATCH 0/11] Generic smp_call_function() and friends
, Peter Zijlstra
, (Tue Apr 22, 1:48 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 1:52 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 1:56 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jacek Luczak
, (Tue Apr 22, 2:04 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Avi Kivity
, (Tue Apr 22, 2:16 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 2:22 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 4:14 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 4:15 am)
Re: [PATCH 3/11] powerpc: convert to generic helpers for I ...
, Paul Mackerras
, (Tue Apr 22, 5:03 am)
Re: [PATCH 3/11] powerpc: convert to generic helpers for I ...
, Jens Axboe
, (Tue Apr 22, 5:13 am)
Re: [PATCH 3/11] powerpc: convert to generic helpers for I ...
, Paul Mackerras
, (Tue Apr 22, 5:42 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Peter Zijlstra
, (Tue Apr 22, 6:00 am)
Re: [PATCH 9/11] parisc: convert to generic helpers for IP ...
, Kyle McMartin
, (Tue Apr 22, 7:09 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 7:25 am)
Re: [PATCH 9/11] parisc: convert to generic helpers for IP ...
, Jens Axboe
, (Tue Apr 22, 7:27 am)
Re: [PATCH 9/11] parisc: convert to generic helpers for IP ...
, Kyle McMartin
, (Tue Apr 22, 7:30 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Avi Kivity
, (Tue Apr 22, 7:38 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Linus Torvalds
, (Tue Apr 22, 7:43 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Peter Zijlstra
, (Tue Apr 22, 7:43 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Avi Kivity
, (Tue Apr 22, 7:47 am)
Re: [PATCH 9/11] parisc: convert to generic helpers for IP ...
, Jens Axboe
, (Tue Apr 22, 7:49 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 7:51 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 7:53 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Linus Torvalds
, (Tue Apr 22, 7:58 am)
Re: [PATCH 6/11] arm: convert to generic helpers for IPI f ...
, Catalin Marinas
, (Tue Apr 22, 8:00 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Linus Torvalds
, (Tue Apr 22, 8:01 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 8:07 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 9:49 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 10:04 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 10:13 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Linus Torvalds
, (Tue Apr 22, 10:29 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Tue Apr 22, 11:23 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Linus Torvalds
, (Tue Apr 22, 11:39 am)
Re: [PATCH 6/11] arm: convert to generic helpers for IPI f ...
, Jens Axboe
, (Tue Apr 22, 11:43 am)
Re: [PATCH 3/11] powerpc: convert to generic helpers for I ...
, Jens Axboe
, (Tue Apr 22, 11:51 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Mark Lord
, (Tue Apr 22, 4:12 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Wed Apr 23, 12:24 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Mark Lord
, (Wed Apr 23, 6:42 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Wed Apr 23, 6:51 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Mark Lord
, (Wed Apr 23, 7:46 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Jens Axboe
, (Thu Apr 24, 3:59 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Mark Lord
, (Thu Apr 24, 5:44 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Rafael J. Wysocki
, (Thu Apr 24, 2:30 pm)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Pavel Machek
, (Fri Apr 25, 4:08 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Pavel Machek
, (Sat Apr 26, 1:04 am)
Re: [PATCH 2/11] x86: convert to generic helpers for IPI f ...
, Jeremy Fitzhardinge
, (Sat Apr 26, 1:59 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Mark Lord
, (Mon Apr 28, 8:13 am)
Re: [PATCH 1/11] Add generic helpers for arch IPI function ...
, Pavel Machek
, (Thu May 1, 9:23 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate