Hi all,

I just have a small doubt that in the context_switch() function in kernel, there is a function switch_to(next,prev,next).
So if I want to access any parameter of nextsk t let's say next->static_prio, can I do it before the switch_to is executed or should I do it after that.
Is the switch_to function responsible for picking the next task?