Jun Sun a écrit :
If I understand it correctly, your understanding is correct. :)

You could instrument sched() function to see if you reach there
and to see if you ever even do a switch_to() at all.

There are plenty of books about linux kernel will touch the topic,
but may not reach the detailed level you are looking for. The code
is the best book in many cases.

Cheers.

Jun


Thanks for your answer. The switch_to function is correctly called as expected. I need to fix it to call __switch_to function and ret_from_fork. Then kernel_thread_helper will be called thanks the stored value in the instruction pointer. All is clear for me now.
Cheers

Stephane Lambert


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to