mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Backout early start of APs since it caused some machines to hang.
This commit is contained in:
parent
b6adffbf1b
commit
87c737bc83
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45643
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mp_machdep.c,v 1.95 1999/04/10 22:58:28 tegge Exp $
|
||||
* $Id: mp_machdep.c,v 1.96 1999/04/11 00:43:43 tegge Exp $
|
||||
*/
|
||||
|
||||
#include "opt_smp.h"
|
||||
@ -1930,9 +1930,6 @@ start_all_aps(u_int boot_addr)
|
||||
for (i = 0; i < mp_ncpus; i++) {
|
||||
bcopy( (int *) PTD + KPTDI, (int *) IdlePTDS[i] + KPTDI, NKPDE * sizeof (int));
|
||||
}
|
||||
wait_ap(1000000);
|
||||
if (smp_started == 0)
|
||||
printf("WARNING: Failed to start all APs\n");
|
||||
|
||||
/* number of APs actually started */
|
||||
return mp_ncpus - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user