Source-Changes archive

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

CVS commit: [wrstuden-revivesa] src/sys/kern

Module Name:    src
Committed By:   wrstuden
Date:           Sat Jul 26 19:51:12 UTC 2008

Modified Files:
        src/sys/kern [wrstuden-revivesa]: sys_lwp.c sys_sched.c

Log Message:
sys__lwp_create() and sys__lwp_suspend(): Only test to see if a process is
an SA process ifdef KERN_SA.

sys__sched_setaffinity(): Don't allow changing (setting) the affinity
of an SA process (or a thread in an SA process). To really set the
affinity of a thread in an SA process, we need to set the affility
for all LWPs on which that user thread will run. This really means
setting the affinity on all present and future threads on a VP
and also having the user thread always run on an lwp on that VP. The
latter needs libpthread's intervention.

To generate a diff of this commit:
cvs rdiff -r1.40.2.2 -r1.40.2.3 src/sys/kern/sys_lwp.c
cvs rdiff -r1.21.4.4 -r1.21.4.5 src/sys/kern/sys_sched.c

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