Linux'es SLUB incompatible with Xen?
Linux-Xen maintainers,
are you aware that SLUB's use of percpu_cmpxchg16b_double() is currently incompatible with Xen when run on old, not cmpxchg16b capable x86-64 CPUs (the problem being this_cpu_cmpxchg16b_emu's non-paravirtualized use of CLI)? Or is that a simple "we don't care - don't run Xen on such old systems" (despite everything else, including the hypervisor, working fine there)?
Jan
Quoted 8 lines · Jan Beulich
Linux-Xen maintainers,
are you aware that SLUB's use of
percpu_cmpxchg16b_double()is currently incompatible with Xen when run on old, not cmpxchg16b capable x86-64 CPUs (the problem being this_cpu_cmpxchg16b_emu's non-paravirtualized use of CLI)? Or is that a simple "we don't care - don't run Xen on such old systems" (despite everything else, including the hypervisor, working fine there)?
Out of curiosity what is it about Xen that triggers this, as opposed to failing on native?
Ian.
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 25.09.14 at 12:08, <[email protected]> wrote:
Quoted 8 lines · Jan Beulich
Linux-Xen maintainers,
are you aware that SLUB's use of
percpu_cmpxchg16b_double()is currently incompatible with Xen when run on old, not cmpxchg16b capable x86-64 CPUs (the problem being this_cpu_cmpxchg16b_emu's non-paravirtualized use of CLI)? Or is that a simple "we don't care - don't run Xen on such old systems" (despite everything else, including the hypervisor, working fine there)?
Quoted 2 lines
Out of curiosity what is it about Xen that triggers this, as opposed to failing on native?
Not sure I understand the question: The emulation code that's being used here is fine for native as CLI does what is expected. But for a PV Xen guest CLI gets emulated as a privileged NOP, i.e. the needed pseudo-atomicity isn't guaranteed.
Jan
Quoted 11 lines · Jan Beulich
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 25.09.14 at 12:08, <[email protected]> wrote:
Quoted 8 lines · Jan Beulich
Linux-Xen maintainers,
are you aware that SLUB's use of
percpu_cmpxchg16b_double()is currently incompatible with Xen when run on old, not cmpxchg16b capable x86-64 CPUs (the problem being this_cpu_cmpxchg16b_emu's non-paravirtualized use of CLI)? Or is that a simple "we don't care - don't run Xen on such old systems" (despite everything else, including the hypervisor, working fine there)?
Quoted 7 lines
Quoted 2 lines
Out of curiosity what is it about Xen that triggers this, as opposed to failing on native?
Not sure I understand the question: The emulation code that's being used here is fine for native as CLI does what is expected. But for a PV Xen guest CLI gets emulated as a privileged NOP, i.e. the needed pseudo-atomicity isn't guaranteed.
Sorry, I somehow missed the parenthetical bit in middle of the paragraph!
Ian.
Quoted 8 lines · Jan Beulich
Linux-Xen maintainers,
are you aware that SLUB's use of
percpu_cmpxchg16b_double()is currently incompatible with Xen when run on old, not cmpxchg16b capable x86-64 CPUs (the problem being this_cpu_cmpxchg16b_emu's non-paravirtualized use of CLI)? Or is that a simple "we don't care - don't run Xen on such old systems" (despite everything else, including the hypervisor, working fine there)?
I wasn't aware but I don't care about such old hardware so I'm not going to fix it.
If you think this should be fixed, please work with the x86 maintainers to get this fixed.
David
Quoted 10 lines · David Vrabel
Quoted 8 lines · Jan Beulich
Linux-Xen maintainers,
are you aware that SLUB's use of
percpu_cmpxchg16b_double()is currently incompatible with Xen when run on old, not cmpxchg16b capable x86-64 CPUs (the problem being this_cpu_cmpxchg16b_emu's non-paravirtualized use of CLI)? Or is that a simple "we don't care - don't run Xen on such old systems" (despite everything else, including the hypervisor, working fine there)?
Quoted 5 lines
I wasn't aware but I don't care about such old hardware so I'm not going to fix it.
If you think this should be fixed, please work with the x86 maintainers to get this fixed.
HAHAHA
You are such a comedian :-)
Quoted 2 lines
David