Quoting Samuel Thibault (2014-12-14 02:44:08) > The attached patch fixes this by making spl.S use just cli/sti for spl7; > they can be emulated fine without any VMEXIT. This lowers the number of > PIC mask changes to a few hundreds or thousands only, and getting the > gnumach on kvm on kvm case way faster.
Unfortunately this change breaks gnumach on xen: % xl create -c hurd [...] GKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK % xl dmesg (XEN) Pagetable walk from 00000000fffffff8: (XEN) L4[0x000] = 00000000a0b9b027 000000000000057e (XEN) L3[0x003] = 00000000a0b9c027 000000000000057d (XEN) L2[0x1ff] = 0000000000000000 ffffffffffffffff (XEN) domain_crash_sync called from entry.S: fault at ffff82d08021fe4c compat_create_bounce_frame+0x62/0xde (XEN) Domain 30 (vcpu#0) crashed on cpu#1: (XEN) ----[ Xen-4.4.1 x86_64 debug=n Not tainted ]---- (XEN) CPU: 1 (XEN) RIP: 0009:[<0000000080006768>] (XEN) RFLAGS: 0000000000010286 EM: 1 CONTEXT: pv guest (XEN) rax: 0000000000000011 rbx: 0000000080086db4 rcx: 000000000000043c (XEN) rdx: 0000000000000007 rsi: 000000000000004b rdi: 0000000080039430 (XEN) rbp: 0000000080086e54 rsp: 0000000000000000 r8: 0000000080006314 (XEN) r9: 0000000080086e54 r10: ffff82d08022d3d0 r11: 0000000000000286 (XEN) r12: 00000952cd6ddd1c r13: ffff82d080300800 r14: ffff82d0802ea940 (XEN) r15: ffff8300a4434000 cr0: 000000008005003b cr4: 00000000000006f0 (XEN) cr3: 0000000105f16000 cr2: 00000000fffffffc (XEN) ds: 0011 es: 0011 fs: 0011 gs: 0011 ss: 0011 cs: 0009 (XEN) Guest stack trace from esp=00000000: (XEN) Stack empty. Justus