mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kevin Easton <s3159795@student.anu.edu.au>
To: linux-kernel@vger.kernel.org
Cc: riel@conectiva.com.br
Subject: Re: Scheduling of low-priority background processes
Date: Tue, 6 Nov 2001 20:22:12 +1100	[thread overview]
Message-ID: <20011106202212.A28518@beernut.flames.org.au> (raw)
In-Reply-To: <20011106190757.A28090@beernut.flames.org.au>


I foolishly muttered:

> What if the SCHED_IDLE behaviour only applies when the process 
> is in userspace? Couldn't scheduler compare the process's 
> instruction pointer against the kernel/user break point, and 
> if the process is in the kernel, then just treat it like a 
> normal process? 

...eek.   I clearly wasn't thinking straight with that one.  There
isn't a (non-disgusting) way of determining in the scheduler if a
process is executing a syscall apart from sys_sched_yield, is there.

Carry on...

   - Kevin.


  reply	other threads:[~2001-11-06  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-05 20:53 Thomas Koeller
2001-11-05 21:08 ` Rik van Riel
2001-11-05 21:12   ` Thomas Koeller
2001-11-06  1:03 ` Rik van Riel
2001-11-06  8:07   ` Kevin Easton
2001-11-06  9:22     ` Kevin Easton [this message]
2001-11-08 12:39       ` Pavel Machek
2001-11-09 17:39       ` Richard Gooch
     [not found] <Pine.LNX.4.10.10111051722590.13543-100000@coffee.psychology.mcmaster.ca>
2001-11-05 23:30 ` Thomas Koeller

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=20011106202212.A28518@beernut.flames.org.au \
    --to=s3159795@student.anu.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /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®