1 Jan 2008 22:57
Re: per-cpu TSS
YAMAMOTO Takashi <yamt <at> mwd.biglobe.ne.jp>
2008-01-01 21:57:42 GMT
2008-01-01 21:57:42 GMT
> i want to get rid of ltr from cpu_switchto. the following is a result of "fmt.sh <tprof.out|head -30". tprof.out here was taken while running mysql sysbench. "cpu_switchto+0x4f" is the next address of the ltr instruction. YAMAMOTO Takashi 13259 c039b98a x86_pause+0x2 7652 c039b571 bus_space_read_4+0x11 2735 c010ce12 mutex_enter+0x12 2308 c02dd845 _kernel_lock+0xc5 2182 c010cfcd __cpu_simple_lock_try+0xd 1824 c010cef5 mutex_spin_enter+0x35 1536 c039b988 x86_pause 1525 c01005c4 sse2_zero_page+0x14 1515 c0100c4c spllower+0x2c 1384 c01005c0 sse2_zero_page+0x10 1379 c0100490 Xsyscall 1285 c039ef5f invlpg+0x7 1234 c010cf9d __cpu_simple_lock+0xd 737 c01003cf cpu_switchto+0x4f 732 c0100fb9 Xintr_lapic_tlb_mcast+0x49 710 c02dd84e _kernel_lock+0xce 641 bb86b9a7 start 634 bb9002a7 start 609 c01006fc copyout+0x3c 609 c010ce5f rw_enter+0x1f 577 c02abc50 nonresident_rotate+0x10 576 c0100523 syscall1+0x91(Continue reading)
David
RSS Feed