Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix

Ingo Molnar
2009-05-11T15:41:07Z

sigh:

BUG: using smp_processor_id() in preemptible [00000000] code: S99local/1903
caller is flush_tlb_others_ipi+0x1b/0xc0
Pid: 1903, comm: S99local Not tainted
2.6.30-rc5-tip-01485-g1304846-dirty #40905
Call Trace:
[<40a9e184>] ? printk+0x1d/0x1f
[<4066d2e6>] debug_smp_processor_id+0xc6/0xd0
[<40422dab>] flush_tlb_others_ipi+0x1b/0xc0
[<40422e5d>] native_flush_tlb_others+0xd/0x10
[<40422ea9>] flush_tlb_all+0x19/0x60
[<4041e972>] zap_low_mappings+0x52/0x60
[<40a9b080>] native_cpu_up+0x156/0x220
[<40a9ca42>] _cpu_up+0xb0/0x151
[<40a9cb66>] cpu_up+0x83/0x8d
[<40a68b90>] store_online+0x60/0xa0
[<40a68b30>] ? store_online+0x0/0xa0
[<4072ed8a>] sysdev_store+0x2a/0x40
[<40522511>] sysfs_write_file+0xa1/0xf0
[<404d9d44>] vfs_write+0xa4/0x130
[<4065fcec>] ? trace_hardirqs_on_thunk+0xc/0x10
[<40522470>] ? sysfs_write_file+0x0/0xf0
[<404d9ea2>] sys_write+0x42/0x70
[<40403bc8>] sysenter_do_call+0x12/0x3c
CPU0 attaching NULL sched-domain.

Ingo