/[base]
ViewVC logotype

Revision 222853


Jump to revision: Previous Next
Author: avg
Date: Wed Jun 8 08:12:15 2011 UTC (13 years ago)
Changed paths: 8
Log Message:
remove code for dynamic offlining/onlining of CPUs on x86

The code has definitely been broken for SCHED_ULE, which is a default
scheduler.  It may have been broken for SCHED_4BSD in more subtle ways,
e.g. with manually configured CPU affinities and for interrupt devilery
purposes.
We still provide a way to disable individual CPUs or all hyperthreading
"twin" CPUs before SMP startup.  See the UPDATING entry for details.

Interaction between building CPU topology and disabling CPUs still
remains fuzzy: topology is first built using all availble CPUs and then
the disabled CPUs should be "subtracted" from it.  That doesn't work
well if the resulting topology becomes non-uniform.

This work is done in cooperation with Attilio Rao who in addition to
reviewing also provided parts of code.

PR:		kern/145385
Discussed with:	gcooper, ambrisko, mdf, sbruno
Reviewed by:	attilio
Tested by:	pho, pluknet
X-MFC after:	never


Changed paths

Path Details
Directoryhead/UPDATING modified , text changed
Directoryhead/sys/amd64/amd64/machdep.c modified , text changed
Directoryhead/sys/amd64/amd64/mp_machdep.c modified , text changed
Directoryhead/sys/amd64/include/smp.h modified , text changed
Directoryhead/sys/i386/i386/machdep.c modified , text changed
Directoryhead/sys/i386/i386/mp_machdep.c modified , text changed
Directoryhead/sys/i386/include/smp.h modified , text changed
Directoryhead/sys/pc98/pc98/machdep.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27