Skip to content

i386-gdt-pda i386 gdt and pda updates

Jeremy Fitzhardinge lkml virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i386-gdt-pda Page-align the GDTarch/i386/kernel/cpu/common.c arch/i386/kernel/entry.S arch/i386/kernel/head.S +2 more+13 -80 replies
2/5i386-gdt-pda Convert PDA into the percpu sectionarch/i386/kernel/asm-offsets.c arch/i386/kernel/cpu/common.c arch/i386/kernel/entry.S +14 more+163 -1960 replies
3/5i386-gdt-pda Update lguest to initialize gdt without pdaarch/i386/lguest/lguest.c+6 -91 reply
4/5i386-gdt-pda cleanups to help using per-cpu variables from asminclude/asm-i386/percpu.h+7 -50 replies
5/5i386-gdt-pda Define per_cpu_offsetinclude/asm-i386/percpu.h+2 -00 replies

Reviews trailers per patch

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

PatchJeremy Fitzhardinge
1/5A-b
2/5
3/5
4/5
5/5

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/5] i386-gdt-pda i386 gdt and pda updates

Hi Andrew,

This patch series adds to the end of the existing i386-gdt-cleanups patches:

	 allow-per-cpu-variables-to-be-page-aligned.patch
	 i386-gdt-cleanups-use-per-cpu-variables-for-gdt-pda.patch
	 i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot.patch
	 i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot-fix.patch
	 i386-gdt-cleanups-clean-up-cpu_init.patch
	 i386-gdt-cleanups-cleanup-gdt-access.patch
	 i386-gdt-cleanups-rename-boot_gdt_table-to-boot_gdt.patch
	+i386-gdt-cleanups-page-align-the-gdt.patch
	+i386-convert-pda-into-the-percpu-section.patch
	+lguest-use-percpu.patch
	+i386-cleanups-to-help-using-per-cpu-variables-from-asm.patch
	+percpu-define-per_cpu_offset.patch

The quick summary of each patch is:

i386-gdt-cleanups-page-align-the-gdt.patch

Make sure the GDT is page-aligned, which Xen requires, but it is generally helpful.

i386-convert-pda-into-the-percpu-section.patch

Remove the PDA as a separate entity, and use the normal per-cpu mechanism This still uses the PDA's underlying segment machinery to retain the same code-size and atomicity benefits that the PDA had.

lguest-use-percpu.patch

Fix lguest's initialization to skip PDA references.

i386-cleanups-to-help-using-per-cpu-variables-from-asm.patch

Add some tweaks to asm-i386/percpu.h to allow efficient access to per-cpu variables from assembler.

percpu-define-per_cpu_offset.patch

Define per_cpu_offset in asm-i386/percpu.h, to be consistent with asm-generic/percpu.h.

Thanks,
J