Date: Sat, 7 Sep 2002 05:46:53 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17195 for review Message-ID: <200209071246.g87CkrUQ086701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17195 Change 17195 by julian@julian_desk on 2002/09/07 05:46:14 undo previous undo.. these fiedls are DEFINITLY not to be copied but should be zero'd Affected files ... .. //depot/projects/kse/sys/sys/proc.h#130 edit Differences ... ==== //depot/projects/kse/sys/sys/proc.h#130 (text+ko) ==== @@ -269,6 +269,7 @@ #define td_startzero td_flags int td_flags; /* (j) TDF_* flags. */ struct kse *td_last_kse; /* Where it wants to be if possible. */ + struct kse *td_kse; /* Current KSE if running. */ int td_dupfd; /* (k) Ret value from fdopen. XXX */ void *td_wchan; /* (j) Sleep address. */ const char *td_wmesg; /* (j) Reason for sleep. */ @@ -282,16 +283,15 @@ LIST_HEAD(, mtx) td_contested; /* (j) Contested locks. */ struct lock_list_entry *td_sleeplocks; /* (k) Held sleep locks. */ int td_intr_nesting_level; /* (k) Interrupt recursion. */ + struct thread_mailbox *td_mailbox; /* the userland mailbox address */ struct ucred *td_ucred; /* (k) Reference to credentials. */ void (*td_switchin)(void); /* (k) switchin special func */ u_int td_critnest; /* (k) Critical section nest level. */ -#define td_endzero td_kse +#define td_endzero td_md /* Copied during fork1() or thread_sched_upcall() */ -#define td_startcopy td_kse +#define td_startcopy td_endzero /* XXXKSE just copying td_md needs checking! */ - struct kse *td_kse; /* Current KSE if running. */ - struct thread_mailbox *td_mailbox; /* the userland mailbox address */ struct mdthread td_md; /* (k) Any machine-dependent fields. */ u_char td_base_pri; /* (j) Thread base kernel priority. */ u_char td_priority; /* (j) Thread active priority. */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209071246.g87CkrUQ086701>