Now
wrstuden-revivesa commitmail json YAML
src/sys/kern/sys_lwp.c@1.40.2.3
/
diff
/
nxr@1.40.2.3
src/sys/kern/sys_sched.c@1.21.4.5 / diff / nxr@1.21.4.5
src/sys/kern/sys_sched.c@1.21.4.5 / diff / nxr@1.21.4.5
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.
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.