Re: 2.6.9-rc1-mm1

From: Andrew Morton
Date: Thu Aug 26 2004 - 18:09:22 EST


"Rafael J. Wysocki" <rjw@xxxxxxx> 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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/