Re: KVM overflows the stack

From: Dave Hansen
Date: Thu Jul 17 2008 - 02:27:47 EST


A newer gcc (4.2) makes this a wee bit better, but probably still
worrisome.

dave@nimitz:~/src/kvm-userspace-virgin/kernel$ objdump -d *.ko | perl /home/dave/kernels/linux-2.6.git-t61/scripts/checkstack.pl i386
0x00007b33 kvm_arch_vm_ioctl [kvm]: 1164
0x000072e8 kvm_arch_vcpu_ioctl [kvm]: 1060
0x00007497 kvm_arch_vcpu_ioctl [kvm]: 1060
0x0000adad kvm_pv_mmu_op [kvm]: 564
0x0000ae6b kvm_pv_mmu_op [kvm]: 564
0x00002553 kvm_vcpu_ioctl [kvm]: 468
0x0000d7e8 paging64_prefetch_page [kvm]: 304
0x0000d926 paging64_prefetch_page [kvm]: 304
0x0000d936 paging64_prefetch_page [kvm]: 304
0x0000c118 paging32_prefetch_page [kvm]: 300
0x0000c146 paging32_prefetch_page [kvm]: 300
0x0000c286 paging32_prefetch_page [kvm]: 300
0x0000f1eb x86_emulate_insn [kvm]: 192
0x0000f372 x86_emulate_insn [kvm]: 192
0x0000f5f2 x86_emulate_insn [kvm]: 192
0x00005373 kvm_task_switch [kvm]: 172
0x00001466 __kvm_set_memory_region [kvm]: 164
0x000014da __kvm_set_memory_region [kvm]: 164
0x0000dae8 paging64_page_fault [kvm]: 156
0x0000db06 paging64_page_fault [kvm]: 156
0x0000db67 paging64_page_fault [kvm]: 156
0x0000dcd5 paging64_page_fault [kvm]: 156
0x0000dcf1 paging64_page_fault [kvm]: 156
0x0000c356 kvm_mmu_pte_write [kvm]: 152
0x0000c50a kvm_mmu_pte_write [kvm]: 152
0x0000df28 paging32_page_fault [kvm]: 144
0x0000df46 paging32_page_fault [kvm]: 144
0x0000dfa7 paging32_page_fault [kvm]: 144
0x0000e115 paging32_page_fault [kvm]: 144
0x0000e131 paging32_page_fault [kvm]: 144
0x00014ed3 apic_mmio_read [kvm]: 108

-- Dave

--
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/