OK, I'll add some declarations make it tidier. Kip Kip Walker wrote: > > In SMP systems, each CPU needs to set up "current_cpu_data.tlbsize". > Some CPUs do this initialization in cpu_probe, which is called both by > init_arch and start_secondary. However, some CPUs do this in their TLB > setup code, which is called via load_mmu. The SMP boot code doesn't > currently call load_mmu() for the secondary CPUs. Here's a simple fix > for the 2.4 tree. > > TLB flush routines that have loops running up to tlbsize will lose if > it's not set properly on all CPUs!