Re: 2.6.14 X spinning in the kernel

Andrew Morton
2005-11-15T00:16:48Z

Badari Pulavarty <pbadari@us.ibm.com> wrote:
>
> My 2-cpu EM64T machine started showing this problem again on 2.6.14.
> On some reboots, X seems to spin in the kernel forever.
>
> sysrq-t output shows nothing.
>
> X R running task 0 3607 3589 3903
> (L-TLB)
>
> top shows:
> 3607 root 25 0 0 0 0 R 99.1 0.0 262:04.69 X
>
>
> So, I wrote a module to do smp_call_function() on all CPUs
> to show stacks on them. CPU0 seems to be spinning in exit_mmap().
> I did this multiple times to collect stacks few times.
>
> Is this a known issue ?

Nope. Maybe your vma list has a loop in it, in remove_vma()? slab
debugging would detect that, due to the repeated
kmem_cache_free(vm_area_cachep, vma);