From: Con Kolivas <kernel@kolivas.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] O16.2int
Date: Mon, 18 Aug 2003 00:59:07 +1000 [thread overview]
Message-ID: <200308180059.07813.kernel@kolivas.org> (raw)
In-Reply-To: <20030817004013.14c399da.akpm@osdl.org>
[-- Attachment #1: Type: text/plain, Size: 594 bytes --]
On Sun, 17 Aug 2003 17:40, Andrew Morton wrote:
> Con Kolivas <kernel@kolivas.org> wrote:
> > Much simpler
>
> But broken.
>
> The machine runs about 100x slower than normal. The screensaver cut in
> halfway through the initscripts ;) That's on 2-way. The same kernel works
> OK on uniprocessor.
Reverting the !in_interrupt nonsense should be enough to avoid the dreaded
screensaver at boottime I hope. Does this fix it?
Starvation will be approached differently.
Change:
Make preemption occur as vanilla again except for now not preempting same
priority tasks with less timeslice.
Con
[-- Attachment #2: patch-O16.2-O16.3int --]
[-- Type: text/x-diff, Size: 468 bytes --]
--- linux-2.6.0-test3-mm2-O16.2/kernel/sched.c 2003-08-18 00:03:53.000000000 +1000
+++ linux-2.6.0-test3-mm2-O16.3/kernel/sched.c 2003-08-18 00:44:20.000000000 +1000
@@ -609,9 +609,8 @@ repeat_lock_task:
__activate_task(p, rq);
else {
activate_task(p, rq);
- if (TASK_PREEMPTS_CURR(p, rq) &&
- (in_interrupt() || !p->mm))
- resched_task(rq->curr);
+ if (TASK_PREEMPTS_CURR(p, rq))
+ resched_task(rq->curr);
}
success = 1;
}
next prev parent reply other threads:[~2003-08-17 14:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-16 9:02 [PATCH] O16.2int Con Kolivas
2003-08-16 13:29 ` Wiktor Wodecki
2003-08-17 7:40 ` Andrew Morton
2003-08-17 9:30 ` Con Kolivas
2003-08-17 14:59 ` Con Kolivas [this message]
2003-08-17 21:06 ` Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2003-08-16 11:07 Voluspa
2003-08-16 14:09 ` Con Kolivas
2003-08-16 14:41 ` Nick Piggin
2003-08-16 15:00 ` Con Kolivas
2003-08-16 14:44 ` Voluspa
2003-08-17 20:37 Benjamin Weber
2003-08-17 21:47 ` Tom Sightler
2003-08-18 1:21 ` Con Kolivas
2003-08-18 16:51 ` Antonio Vargas
2003-08-18 23:47 ` Con Kolivas
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=200308180059.07813.kernel@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.