Re: Updated Fedora Core test release: Severn

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

 



On Thu, 25 Sep 2003, Bill Nottingham wrote:

>     We're all a little loopy
> Technical note: There are some issues with the SMP kernel; on
>  SMP machines after installation, you may need to boot the
>  uniprocessor kernel for stability. We'll have a fixed kernel
>  in the next day or three; please update as soon as one
>  is available.

here's the SMP fix for the impatient - we'll be pushing out an updated
kernel build ASAP. The UP kernel is not affected.

	Ingo

--- linux/kernel/sched.c.orig
+++ linux/kernel/sched.c
@@ -1641,7 +1641,7 @@ void scheduling_functions_start_here(voi
  */
 asmlinkage void schedule(void)
 {
-	int this_cpu = smp_processor_id(), retry = 0;
+	int this_cpu, retry;
 	task_t *prev, *next;
 	runqueue_t *rq;
 	prio_array_t *array;
@@ -1660,6 +1660,8 @@ asmlinkage void schedule(void)
 	}
 
 need_resched:
+	this_cpu = smp_processor_id();
+	retry = 0;
 	preempt_disable();
 	prev = current;
 	rq = this_rq();




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux