Re: sched: new cpu schedule

From: Ingo Molnar
Date: Wed Mar 23 2011 - 11:41:56 EST



* wu junhui <wjh.kernel@xxxxxxxxx> wrote:

> hello
>
> i have a new cpu schedule, i name it NanJing for my city.
>
> it's O(1),
> it's one queue,
> it's load balance o(1),
> it's fair,
> it's i/o friendly,
>
> todo:
> powersave,
> human interface (keyboard, mouse event) promotion,
> optimalize clean,
>
>
> my developing platform is centos 5.5
>
> rpmbuild -bp 2.6.18-194.32.1.el5 source
>
> .config use /boot/config
>
> i had do some test, it's work. in diff i have some explain. if
> somebody interest, i can explain more later.
>
> sorry for the last post with attatch patch.
>
> thanks.
>
> Wu JunHui
>
> --- linux-2.6.18.i686_org/kernel/sched.c 2011-03-07 14:12:46.000000000 +0800
> +++ linux-2.6.18.i686/kernel/sched.c 2011-03-23 10:02:06.000000000 +0800

2.6.18 is an almost 5 years old kernel so your patch will not apply to any
recent kernel:

Hunk #1 FAILED at 16.
Hunk #2 succeeded at 100 with fuzz 1 (offset 25 lines).
Hunk #3 FAILED at 93.
Hunk #4 FAILED at 196.
Hunk #5 FAILED at 229.
Hunk #6 FAILED at 727.
Hunk #7 succeeded at 2041 (offset 1236 lines).
Hunk #8 succeeded at 2058 (offset 1236 lines).
Hunk #9 FAILED at 843.
Hunk #10 FAILED at 861.
Hunk #11 FAILED at 951.
Hunk #12 FAILED at 1049.
Hunk #13 succeeded at 2178 with fuzz 2 (offset 1121 lines).

etc.

Scheduler developers use the latest scheduler development tree, which can be
found at:

http://people.redhat.com/mingo/tip.git/README

Thanks,

Ingo
--
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/