From: oleg@tv-sign.ru
To: linux-kernel@vger.kernel.org
Cc: mingo@elte.hu
Subject: Re: [patch] sched-2.5.24-D3, batch/idle priority scheduling, SCHED_BATCH
Date: Sat, 06 Jul 2002 22:18:36 +0400 [thread overview]
Message-ID: <3D27347C.29DC9014@tv-sign.ru> (raw)
Hello.
I beleive this patch against entry.S should be sufficient:
--- entry.S~ Sat Jul 6 21:01:16 2002
+++ entry.S Sat Jul 6 21:06:14 2002
@@ -255,7 +255,7 @@
testb $_TIF_NEED_RESCHED, %cl
jz work_notifysig
work_resched:
- call schedule
+ call schedule_userspace
cli # make sure we don't miss an
interrupt
# setting need_resched or
sigpending
# between sampling and the iret
Both calls to schedule() at resume_kernel: and work_pending:
have clear kernel/user return path.
And users of __KERNEL_SYSCALLS__ and kernel_thread() should not
have policy == SCHED_BATCH.
No?
next reply other threads:[~2002-07-06 18:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-06 18:18 oleg [this message]
2002-07-10 19:38 ` Ingo Molnar
2002-07-10 19:46 ` Ingo Molnar
2002-07-11 7:15 ` Ingo Molnar
2002-07-14 12:29 ` Pavel Machek
2002-07-15 16:31 ` Robert Love
2002-07-18 6:46 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2002-07-10 22:34 Oleg Nesterov
2002-07-01 9:45 Ingo Molnar
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=3D27347C.29DC9014@tv-sign.ru \
--to=oleg@tv-sign.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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
all inboxes | Powered by JetHome®