Skip to content

x86 boot, pda and gdt cleanups

Rusty Russell lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Remove cpu_gdt_table: use boot_gdt_table until migration to per-cpuarch/i386/kernel/cpu/common.c arch/i386/kernel/head.S include/asm-i386/desc.h+8 -203 replies
2/8Remove NR_CPUS from asm-generic/percpu.hinclude/asm-generic/percpu.h+1 -11 reply
3/8Use per-cpu variables for GDT, PDAarch/i386/kernel/cpu/common.c arch/i386/kernel/smpboot.c arch/i386/mach-voyager/voyager_smp.c +3 more+24 -1161 reply
4/8Cleanup setup_pdaarch/i386/kernel/head.S arch/i386/kernel/vmi.c+4 -180 replies
5/8Cleanup GDT accessarch/i386/kernel/cpu/common.c arch/i386/kernel/efi.c arch/i386/kernel/entry.S +3 more+22 -341 reply
6/8Allow per-cpu variables to be page-alignedarch/alpha/kernel/vmlinux.lds.S arch/arm/kernel/vmlinux.lds.S arch/cris/arch-v32/vmlinux.lds.S +16 more+24 -265 replies
7/8Page-align the GDTarch/i386/kernel/cpu/common.c arch/i386/kernel/entry.S arch/i386/kernel/head.S +2 more+15 -100 replies
8/8Convert PDA into the percpu sectionarch/i386/kernel/asm-offsets.c arch/i386/kernel/cpu/common.c arch/i386/kernel/entry.S +14 more+179 -19410 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchIngo Molnar
1/8
2/8
3/8
4/8
5/8
6/8A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] x86 boot, pda and gdt cleanups

Hi all,

The GDT stuff on x86 is a little more complex than it need be, but
playing with boot code is always dangerous. These compile and boot on UP and SMP for me, but Andrew should let the cook in -mm for a while.

Thanks!
Rusty.