From: Con Kolivas <kernel@kolivas.org>
To: Willy Tarreau <w@1wt.eu>
Cc: Stephen Clark <Stephen.Clark@seclark.us>,
ck list <ck@vds.kolivas.org>,
linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: RSDL v0.28 for 2.6.20
Date: Sun, 11 Mar 2007 10:54:42 +1100 [thread overview]
Message-ID: <200703111054.42921.kernel@kolivas.org> (raw)
In-Reply-To: <20070310191118.GL943@1wt.eu>
On Sunday 11 March 2007 06:11, Willy Tarreau wrote:
> On Sat, Mar 10, 2007 at 01:09:35PM -0500, Stephen Clark wrote:
> > Con Kolivas wrote:
> > >Here is an update for RSDL to version 0.28
> > >
> > >Full patch:
> > >http://ck.kolivas.org/patches/staircase-deadline/2.6.20-sched-rsdl-0.28.
> > >patch
> > >
> > >Series:
> > >http://ck.kolivas.org/patches/staircase-deadline/2.6.20/
> > >
> > >The patch to get you from 0.26 to 0.28:
> > >http://ck.kolivas.org/patches/staircase-deadline/2.6.20/sched-rsdl-0.26-
> > >0.28.patch
> > >
> > >A similar patch and directories will be made for 2.6.21-rc3 without
> > >further announcement
> >
> > doesn't apply against 2.6.20.2:
> >
> > patch -p1 <~/2.6.20-sched-rsdl-0.28.patch --dry-run
> > patching file include/linux/list.h
> > patching file fs/proc/array.c
> > patching file fs/pipe.c
> > patching file include/linux/sched.h
> > patching file include/asm-generic/bitops/sched.h
> > patching file include/asm-s390/bitops.h
> > patching file kernel/sched.c
> > Hunk #41 FAILED at 3531.
> > 1 out of 62 hunks FAILED -- saving rejects to file kernel/sched.c.rej
> > patching file include/linux/init_task.h
> > patching file Documentation/sched-design.txt
>
> It is easier to apply 2.6.20.2 on top of 2.6.20+RSDL. The .2 patch
> is a one-liner that you can easily fix by hand, and I'm not even
> certain that it is still required :
>
> --- ./kernel/sched.c.orig 2007-03-10 13:03:51 +0100
> +++ ./kernel/sched.c 2007-03-10 13:08:02 +0100
> @@ -3544,7 +3544,7 @@
> next = list_entry(queue->next, struct task_struct, run_list);
> }
>
> - if (dependent_sleeper(cpu, rq, next))
> + if (rq->nr_running == 1 && dependent_sleeper(cpu, rq, next))
> next = rq->idle;
> switch_tasks:
> if (next == rq->idle)
>
> BTW, Con, I think that you should base your work on 2.6.20.[23] and not
> 2.6.20 next time, due to this conflict. It will get wider adoption.
Gotcha. This bugfix for 2.6.20.2 was controversial anyway so it probably wont
hurt if you dont apply it.
Has anyone had any trouble with RSDL on the stable kernels (ie not -mm)?
--
-ck
next prev parent reply other threads:[~2007-03-10 23:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-10 7:45 RSDL v0.28 for 2.6.20 Con Kolivas
2007-03-10 18:09 ` Stephen Clark
2007-03-10 19:11 ` Willy Tarreau
2007-03-10 21:56 ` [ck] " michael chang
2007-03-10 22:11 ` Willy Tarreau
2007-03-10 22:26 ` michael chang
2007-03-10 23:54 ` Con Kolivas [this message]
2007-03-11 0:43 ` Thibaut VARENE
2007-03-11 0:44 ` Thibaut VARENE
2007-03-10 18:15 ` RSDL v0.28 for 2.6.20 -> backport to 2.6.18.8 Fortier,Vincent [Montreal]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200703111054.42921.kernel@kolivas.org \
--to=kernel@kolivas.org \
--cc=Stephen.Clark@seclark.us \
--cc=ck@vds.kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox