I did some experiments and found that at context switch (resume() function) 
kernel is using the regular globals. So, the kernel needs to build the g7 
contents each time is invoked. However I don't have a full picture of what is 
happening during a context switch event. 

It would be nice if someone  could give me a coarse picture of the call path 
followed at a context switch. Suppose we are a user thread and our quantum 
expires; what is going to happen? (timer interrupt, get into kernel, invoke 
dispatcher? ). I think I will post a new message specific to context switch 
path. Sorry for any mess.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to