Thanks for your reply. It would seem that the pointer in %g7 is a waste from other piece of code - gold to me by the way. I was able to use cpu.cpu_thread and cpu.cpu_dispthread correctly however.
I have one more question.. How and when does the primary and/or secondary MMU context with which each thread is associated change? Different threads on a processor seem to always have different contexts. However, threads on different processors must have different contexts? If a thread migrates, does it keep its original context? I am running under a simulator and at times the simulator breaks and I must determine what thread is executing on each cpu. It has to do with obtaining the memory access pattern of a set of applications. jimglent -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
