Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc



Module Name:    syssrc
Committed By:   thorpej
Date:           Wed May 31 05:02:37 UTC 2000

Modified Files:
        syssrc/sys/kern: init_main.c kern_fork.c kern_ktrace.c kern_resource.c
            kern_subr.c kern_synch.c kern_sysctl.c kern_time.c
        syssrc/sys/sys: proc.h

Log Message:
Track which process a CPU is running/has last run on by adding a
p_cpu member to struct proc.  Use this in certain places when
accessing scheduler state, etc.  For the single-processor case,
just initialize p_cpu in fork1() to avoid having to set it in the
low-level context switch code on platforms which will never have
multiprocessing.

While I'm here, comment a few places where there are known issues
for the SMP implementation.


To generate a diff of this commit:
cvs rdiff -r1.170 -r1.171 syssrc/sys/kern/init_main.c
cvs rdiff -r1.65 -r1.66 syssrc/sys/kern/kern_fork.c \
    syssrc/sys/kern/kern_sysctl.c
cvs rdiff -r1.45 -r1.46 syssrc/sys/kern/kern_ktrace.c
cvs rdiff -r1.56 -r1.57 syssrc/sys/kern/kern_resource.c
cvs rdiff -r1.68 -r1.69 syssrc/sys/kern/kern_subr.c
cvs rdiff -r1.75 -r1.76 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.46 -r1.47 syssrc/sys/kern/kern_time.c
cvs rdiff -r1.96 -r1.97 syssrc/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index