Hey - The kthread_t structure defined in /uts/common/sys/thread.h separates between a swappable and a non-swappable part of the lwp state. I would like to add a new field in the swappable part but this will change the size and offsets of the kthread_t meaning that the point where the two parts start will change. I looked at the thread_create and thread_init where the allocation of thread structures is done to understand how this offset can be changed but I couldn't find anything. Could someone point out how this works and what I need to change?
Thanks. This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
