Hi all I am using a 4-core SF3800 machine and have a question about the 13-bit context ID numbers that are used by each CPU along with the virtual page number to access the TLBs.
It is my understanding that there is one context generated per process in the system. Moreover, the context is actually derived from the process ID number (it isn't exactly equal to the PID). Now, in my usage scenario, I am running a process that spawns four threads in the system. Each thread is pinned to its own physical CPU. Since the threads are part of the same process, I would expect that they have the same process ID. My questions is this -- since they have the same PID, is it reasonable to expect that each thread (running on its own CPU) has the same context number as well? Part of the reason for my confusion is the following post: http://osdir.com/ml/os.solaris.opensolaris.devel/2007-02/msg00354.html In this post, it looks like in a sun4u system (which I think the SF3800 is), each CPU has its own MMU context domain (and therefore its own mapping from process ID to context ID). So I'm unclear how the context IDs of multiple threads would vary in the system. Any help would be highly appreciated! Abhishek -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code