public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Kill unused parameter to smp_call_function and friends
@ 2008-05-29  9:00 Jens Axboe
  2008-05-29  9:01 ` [PATCH 1/2] smp_call_function: get rid of the unused nonatomic/retry argument Jens Axboe
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Jens Axboe @ 2008-05-29  9:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, npiggin, linux-arch, jeremy, mingo, paulmck

Hi,

It bothers me how the smp call functions accept a 'nonatomic' or 'retry'
parameter (depending on who you ask), but don't do anything with it.
So kill that silly thing.

Two patches here, one for smp_call_function*() and one for on_each_cpu().
This patchset applies on top of the generic-ipi patchset just sent out.

 arch/alpha/kernel/core_marvel.c        |    2 +-
 arch/alpha/kernel/process.c            |    2 +-
 arch/alpha/kernel/smp.c                |   10 +++++-----
 arch/alpha/oprofile/common.c           |    6 +++---
 arch/arm/kernel/smp.c                  |    6 +++---
 arch/arm/oprofile/op_model_mpcore.c    |    2 +-
 arch/arm/vfp/vfpmodule.c               |    2 +-
 arch/cris/arch-v32/kernel/smp.c        |    5 ++---
 arch/ia64/kernel/mca.c                 |    6 +++---
 arch/ia64/kernel/palinfo.c             |    2 +-
 arch/ia64/kernel/perfmon.c             |    6 +++---
 arch/ia64/kernel/process.c             |    2 +-
 arch/ia64/kernel/smp.c                 |    4 ++--
 arch/ia64/kernel/smpboot.c             |    2 +-
 arch/ia64/kernel/uncached.c            |    5 ++---
 arch/ia64/sn/kernel/sn2/sn_hwperf.c    |    2 +-
 arch/m32r/kernel/smp.c                 |    4 ++--
 arch/mips/kernel/irq-rm9000.c          |    4 ++--
 arch/mips/kernel/smp.c                 |    8 ++++----
 arch/mips/mm/c-r4k.c                   |   18 +++++++++---------
 arch/mips/oprofile/common.c            |    6 +++---
 arch/mips/pmc-sierra/yosemite/prom.c   |    2 +-
 arch/mips/sibyte/cfe/setup.c           |    2 +-
 arch/mips/sibyte/sb1250/prom.c         |    2 +-
 arch/parisc/kernel/cache.c             |    6 +++---
 arch/parisc/kernel/smp.c               |    2 +-
 arch/parisc/mm/init.c                  |    2 +-
 arch/powerpc/kernel/rtas.c             |    2 +-
 arch/powerpc/kernel/smp.c              |    2 +-
 arch/powerpc/kernel/tau_6xx.c          |    4 ++--
 arch/powerpc/kernel/time.c             |    2 +-
 arch/powerpc/mm/slice.c                |    2 +-
 arch/powerpc/oprofile/common.c         |    6 +++---
 arch/s390/appldata/appldata_base.c     |    4 ++--
 arch/s390/kernel/smp.c                 |   22 +++++++++-------------
 arch/s390/kernel/time.c                |    6 +++---
 arch/sh/kernel/smp.c                   |   14 +++++++-------
 arch/sparc64/kernel/smp.c              |   12 ++++--------
 arch/sparc64/mm/hugetlbpage.c          |    2 +-
 arch/um/kernel/smp.c                   |    3 +--
 arch/x86/kernel/cpu/mcheck/mce_64.c    |    6 +++---
 arch/x86/kernel/cpu/mcheck/non-fatal.c |    2 +-
 arch/x86/kernel/cpu/mtrr/main.c        |    4 ++--
 arch/x86/kernel/cpu/perfctr-watchdog.c |    4 ++--
 arch/x86/kernel/cpuid.c                |    2 +-
 arch/x86/kernel/io_apic_32.c           |    2 +-
 arch/x86/kernel/io_apic_64.c           |    2 +-
 arch/x86/kernel/ldt.c                  |    2 +-
 arch/x86/kernel/nmi_32.c               |    6 +++---
 arch/x86/kernel/nmi_64.c               |    6 +++---
 arch/x86/kernel/smp.c                  |    2 +-
 arch/x86/kernel/tlb_32.c               |    2 +-
 arch/x86/kernel/tlb_64.c               |    2 +-
 arch/x86/kernel/vsyscall_64.c          |    4 ++--
 arch/x86/kvm/vmx.c                     |    4 ++--
 arch/x86/kvm/x86.c                     |    2 +-
 arch/x86/lib/msr-on-cpu.c              |    8 ++++----
 arch/x86/mach-voyager/voyager_smp.c    |    4 ++--
 arch/x86/mm/pageattr.c                 |    4 ++--
 arch/x86/oprofile/nmi_int.c            |   10 +++++-----
 arch/x86/xen/smp.c                     |    2 +-
 drivers/acpi/processor_idle.c          |    2 +-
 drivers/char/agp/generic.c             |    2 +-
 drivers/cpuidle/cpuidle.c              |    2 +-
 drivers/lguest/x86/core.c              |    4 ++--
 fs/buffer.c                            |    2 +-
 include/asm-alpha/smp.h                |    2 +-
 include/asm-sparc/smp.h                |    2 +-
 include/linux/smp.h                    |   12 ++++++------
 kernel/hrtimer.c                       |    2 +-
 kernel/profile.c                       |    6 +++---
 kernel/rcupdate.c                      |    2 +-
 kernel/smp.c                           |    6 ++----
 kernel/softirq.c                       |    4 ++--
 kernel/time/tick-broadcast.c           |    2 +-
 mm/page_alloc.c                        |    2 +-
 mm/slab.c                              |    4 ++--
 mm/slub.c                              |    2 +-
 net/core/flow.c                        |    2 +-
 net/iucv/iucv.c                        |   16 ++++++++--------
 virt/kvm/kvm_main.c                    |   14 +++++++-------
 81 files changed, 179 insertions(+), 192 deletions(-)

-- 
Jens Axboe

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

end of thread, other threads:[~2008-06-01 14:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29  9:00 [PATCH 0/2] Kill unused parameter to smp_call_function and friends Jens Axboe
2008-05-29  9:01 ` [PATCH 1/2] smp_call_function: get rid of the unused nonatomic/retry argument Jens Axboe
2008-05-29  9:01 ` [PATCH 2/2] on_each_cpu(): kill unused 'retry' parameter Jens Axboe
2008-05-29 12:51   ` Carlos R. Mafra
2008-05-29 12:54     ` Jens Axboe
2008-05-29 13:14       ` Carlos R. Mafra
2008-05-30 11:27   ` Paul E. McKenney
2008-05-29 10:09 ` [PATCH 0/2] Kill unused parameter to smp_call_function and friends Jeremy Fitzhardinge
2008-05-29 11:49   ` Jens Axboe
2008-05-29 10:41 ` Alan Cox
2008-05-29 11:47   ` Jens Axboe
2008-05-31 20:45   ` Pavel Machek

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