Skip to content

__get_cpu_var/cpumask_var_t: Resolve ambiguities

Christoph Lameter linux-ia64 linux-pm linux-watchdog lkml netdev sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 of 36 patches 39 repliesIn review

34 of 36 patches are in this archive. Their subjects are numbered up to 36.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/36__get_cpu_var/cpumask_var_t: Resolve ambiguitiesarch/x86/include/asm/perf_event_p4.h arch/x86/kernel/apic/x2apic_cluster.c arch/x86/oprofile/op_model_p4.c +4 more+17 -70 replies
2/36kernel misc: Replace __get_cpu_var useskernel/printk/printk.c kernel/smp.c+5 -51 reply
3/36time: Replace __get_cpu_var usesdrivers/clocksource/dummy_timer.c kernel/irq_work.c kernel/sched/clock.c +7 more+29 -291 reply
4/36scheduler: Replace __get_cpu_var with this_cpu_ptrinclude/linux/kernel_stat.h kernel/events/callchain.c kernel/events/core.c +4 more+23 -231 reply
5/36block: Replace __this_cpu_ptr with raw_cpu_ptrfs/ext4/mballoc.c+1 -11 reply
6/36drivers/char/random: Replace __get_cpu_var usesdrivers/char/random.c+1 -11 reply
7/36drivers/cpuidle: Replace __get_cpu_var uses for address calculationdrivers/cpuidle/governors/ladder.c drivers/cpuidle/governors/menu.c+5 -51 reply
8/36drivers/oprofile: Replace __get_cpu_var uses for address calculationdrivers/oprofile/cpu_buffer.c drivers/oprofile/timer_int.c+6 -61 reply
9/36drivers/clocksource: Replace __get_cpu_var used for address calculationdrivers/clocksource/metag_generic.c+1 -11 reply
10/36drivers/net/ethernet/tile: Replace __get_cpu_var uses for address calculationdrivers/net/ethernet/tile/tilegx.c drivers/net/ethernet/tile/tilepro.c+13 -131 reply
11/36watchdog: Replace __raw_get_cpu_var useskernel/watchdog.c+6 -61 reply
12/36net: Replace get_cpu_var through this_cpu_ptrinclude/net/netfilter/nf_conntrack.h include/net/snmp.h net/core/dev.c +8 more+20 -201 reply
13/36md: Replace __this_cpu_ptr with raw_cpu_ptrdrivers/md/dm-stats.c+1 -11 reply
14/36metag: Replace __get_cpu_var uses for address calculationarch/metag/kernel/perf/perf_event.c+7 -71 reply
15/36drivers/net/ethernet/tile: __get_cpu_var call introduced in 3.14drivers/net/ethernet/tile/tilegx.c+2 -21 reply
16/36irqchips: Replace __this_cpu_ptr usesdrivers/irqchip/irq-gic.c kernel/irq/chip.c+6 -61 reply
17/36x86: Replace __get_cpu_var usesarch/x86/include/asm/debugreg.h arch/x86/include/asm/uv/uv_hub.h arch/x86/kernel/apb_timer.c +27 more+147 -1471 reply
18/36uv: Replace __get_cpu_vararch/x86/include/asm/uv/uv_hub.h arch/x86/platform/uv/uv_nmi.c+25 -251 reply
19/36arm: Replace __this_cpu_ptr with raw_cpu_ptrarch/arm/kernel/smp_twd.c+6 -64 replies
20/36MIPS: Replace __get_cpu_var uses in FPU emulator.arch/mips/include/asm/fpu_emulator.h+12 -121 reply
21/36mips: Replace __get_cpu_var usesarch/mips/cavium-octeon/octeon-irq.c arch/mips/kernel/kprobes.c arch/mips/kernel/perf_event_mipsxx.c +2 more+29 -291 reply
22/36s390: Replace __get_cpu_var usesarch/s390/include/asm/cputime.h arch/s390/include/asm/irq.h arch/s390/include/asm/percpu.h +9 more+48 -441 reply
23/36s390: cio driver &__get_cpu_var replacementsdrivers/s390/cio/ccwreq.c drivers/s390/cio/chsc_sch.c drivers/s390/cio/cio.c +2 more+8 -81 reply
24/36ia64: Replace __get_cpu_var usesarch/ia64/include/asm/hw_irq.h arch/ia64/include/asm/sn/arch.h arch/ia64/include/asm/sn/nodepda.h +9 more+38 -381 reply
25/36alpha: Replace __get_cpu_vararch/alpha/kernel/perf_event.c arch/alpha/kernel/time.c arch/powerpc/include/asm/cputime.h+14 -141 reply
26/36powerpc: Replace __get_cpu_var usesarch/powerpc/include/asm/hardirq.h arch/powerpc/include/asm/tlbflush.h arch/powerpc/include/asm/xics.h +29 more+105 -1035 replies
27/36tile: Replace __get_cpu_var usesarch/tile/include/asm/irqflags.h arch/tile/include/asm/mmu_context.h arch/tile/kernel/irq.c +9 more+30 -291 reply
28/36tile: Use this_cpu_ptr() for hardware countersarch/tile/kernel/perf_event.c+6 -61 reply
29/36blackfin: Replace __get_cpu_var usesarch/blackfin/include/asm/ipipe.h arch/blackfin/kernel/perf_event.c arch/blackfin/mach-common/ints-priority.c +1 more+11 -111 reply
30/36avr32: Replace __get_cpu_var with __this_cpu_writearch/avr32/kernel/kprobes.c+1 -11 reply
31/36sparc: Replace __get_cpu_var usesarch/sparc/include/asm/cpudata_32.h arch/sparc/include/asm/cpudata_64.h arch/sparc/kernel/kprobes.c +7 more+35 -351 reply
32/36clocksource: Replace __this_cpu_ptr with raw_cpu_ptrdrivers/clocksource/qcom-timer.c+1 -11 reply
33/36Remove __get_cpu_var and __raw_get_cpu_var macros [only in 3.17]include/linux/percpu-defs.h+0 -20 replies
34/36percpu: Remove __this_cpu_ptrinclude/linux/percpu-defs.h+0 -31 reply

Reviews trailers per patch

14 of 34 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerThomas GleixnerIngo MolnarRafael J. WysockiJames HoganH. Peter AnvinHeiko CarstensChris MetcalfHans-Christian EgtvedtRichard HendersonWill Deacon
1/36
2/36
3/36R-b
4/36A-b
5/36
6/36
7/36A-b
8/36
9/36A-b
10/36A-b
11/36
12/36A-b
13/36
14/36A-b
15/36
16/36
17/36A-b A-b
18/36
19/36A-b
20/36
21/36
22/36A-b
23/36
24/36
25/36A-b
26/36
27/36A-b
28/36
29/36
30/36A-b
31/36A-b
32/36
33/36
34/36

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 11 reviewers.

Read the v1 thread