Skip to content

x86/percpu semantics and fixes

Peter Zijlstra lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/percpu: Differentiate this_cpu_{}() and __this_cpu_{}()arch/x86/include/asm/percpu.h+112 -1120 replies
2/5x86/percpu: Relax smp_processor_id()arch/x86/include/asm/smp.h include/linux/smp.h+33 -150 replies
3/5x86/percpu, x86/irq: Relax {set,get}_irq_regs()arch/x86/include/asm/irq_regs.h+2 -20 replies
4/5x86/percpu, sched/fair: Avoid local_clock()kernel/sched/fair.c+3 -20 replies
5/5x86/percpu: Optimize raw_cpu_xchg()arch/x86/include/asm/percpu.h+16 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] x86/percpu semantics and fixes

Hi all,

I still have these patches sitting in my queue and figured I'd repost them.

Last time Linus proposed a "+m" alternative approach, but that generates far far worse code (I've lost the patch and not re-ran those numbers, but I suppose I can redo if found important).

These patches have been through 0day for a while.