Re: 2.6.9-rc1-mm1

Andrew Morton
2004-08-26T22:54:26Z

"Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> On Thursday 26 of August 2004 10:47, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6
> >.9-rc1-mm1/
> >
> >
> > - nicksched is still here. There has been very little feedback, except
> > that it seems to slow some workloads on NUMA.
> >
>
> It has the problem that I have reported for 2.6.8.1-mm4, that after issuing:
>
> # rmmod snd_seq_oss
>
> the kernel goes into a strange state:

Rusty sent out a couple of patches which should fix this up. They'll be in
next -mm.

Probably the below patch:

--- .13565-linux-2.6.8.1-mm4/kernel/stop_machine.c 2004-05-10 15:13:59.000000000 +1000
+++ .13565-linux-2.6.8.1-mm4.updated/kernel/stop_machine.c 2004-08-26 16:24:56.000000000 +1000
@@ -82,7 +86,7 @@ static int stop_machine(void)
int i, ret = 0;
struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };

/* One high-prio thread per cpu. We'll do this one. */
- sys_sched_setscheduler(current->pid, SCHED_FIFO, &param);
+ sys_sched_setscheduler(current->pid, SCHED_RR, &param);

atomic_set(&stopmachine_thread_ack, 0);