[PATCH 0/2] x86-64: allow using RIP-relative addressing for per-CPU data

From: Jan Beulich
Date: Tue Nov 04 2014 - 03:49:47 EST


Observing that per-CPU data (in the SMP case) is reachable by
exploiting 64-bit address wraparound, these two patches
arrange for using the one byte shorter RIP-relative addressing
forms for the majority of per-CPU accesses.

1: handle PC-relative relocations on per-CPU data
2: use RIP-relative addressing for most per-CPU accesses

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/