mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: "Jeff V. Merkey" <jmerkey@timpanogas.com>
Cc: linux-kernel@vger.rutgers.edu, torvalds@transmeta.com
Subject: Re: Proposal for task_queue() WorkToDo Optimization for Network File Systems
Date: Mon, 15 May 2000 20:05:43 +0200	[thread overview]
Message-ID: <20000515200543.A22270@pcep-jamie.cern.ch> (raw)
In-Reply-To: <391B77F6.14E6F9DA@timpanogas.com>; from jmerkey@timpanogas.com on Thu, May 11, 2000 at 09:18:14PM -0600

Jeff V. Merkey wrote:
> Work To Do Model in NetWare
> ---------------------------

Dynamic thread creation, where when one WTD thread blocks another is
automatically created for the next task, would be useful in user space
too.  This has been discussed before but nothing much came of it.

It's my understanding that clone() thread creation is pretty fast
already -- so if you could provide a mechanism for "when thread A blocks
wake up (or create if you prefer) thread B" that is equally usable by
user and kernel threads, that would be a nice mechanism for a number of
scheduling problems.

The other part: where an interrupt routine can schedule a task to be run
on exit from the interrupt, is already implemented many different ways
in Linux.  Tasklets, BHs and "soft real-time" tasks all fall into this
category.

There are some bugs in the main kernel which mean that real-time tasks
aren't always run on time, and within the kernel, it is not preemptible
in general.  But both of these things are addressed pretty well by
Ingo's low-latency patch, and as a mere performance optimisation that
probably isn't required anyway.

enjoy,
-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-05-15 17:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-12  3:18 Jeff V. Merkey
2000-05-12  7:59 ` Derek Fawcus
2000-05-12 19:53 ` George Anzinger
2000-05-15 18:05 ` Jamie Lokier [this message]
2000-05-15 19:00   ` Jeff V. Merkey

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=20000515200543.A22270@pcep-jamie.cern.ch \
    --to=lk@tantalophile.demon.co.uk \
    --cc=jmerkey@timpanogas.com \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=torvalds@transmeta.com \
    /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®