[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: spinlock on uniprocessor systems



Dear Fawad,

> > I have tried this earlier version of 2.4 kernels and found what you
> > mentioned. I found the same on 2.6.x kernel with Preemption & SMP
> > disabled.
> >
> 
> Right :)
> 
> > But, when I tried this on a 2.6.x kernel with Preemption & SMP
enabled I
> > fond that the kernel hangs with some messages.
> >
> 
> Can you tell what the messages are?

When the kernel crashes, kernel prints out the log explaining the error.
I have a problem taking those messages when the kernel crashes.
When we reboot the system, I do find it in the "/var/log/messages"?
Where can I find those?

> > I tried this by inserting a "while (1);" in close call. When APP
calls
> > close () call I found the kernel hangs for a while & immediately
results
> > in a crash.
> > What is the reason for this? Is it the timer interrupt (ISR)that
causes
> > this?
> >

I have tried it on Uni-processor machine.

Regards,
Mukund Jampala


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/