Re: [patch, 2.6.9-rc4-mm1] fix oops in sched_setscheduler

From: Mateusz . Blaszczyk
Date: Fri Oct 15 2004 - 05:54:52 EST


On Fri, 15 Oct 2004, Ingo Molnar wrote:

>
> * Mateusz.Blaszczyk@xxxxxxx <Mateusz.Blaszczyk@xxxxxxx> wrote:
>
> > Running cdrecord caused oops in sched_setscheduler syscall (i think)
> > so i tested with my little setp.c program that follows. It seems that
> > it always oops - no matter what policy I request. It runs ok on
> > 2.6.9-rc2-mm1, same config. Rc3 not tested. I run setp. 3 times. The
> > first I decoded using ksymoops. My .config follows at the end.
>
> the crash happens if 1) someone doesnt have profiling enabled 2) uses an
> UP kernel and 3) does setscheduler. The patch below fixes 3 problems:
> finishes and fixes the consolidation and fixes the profile=schedule
> feature. Against 2.6.9-rc4-mm1. Tested.

tested, works.

-mat

--
Pozdrowienia,Regards,Cheers,Grüße,A plus!,
-
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/