From: Steffen Persvold <sp@scali.com>
To: Jens Axboe <axboe@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Short question regarding generic_make_request()
Date: Sun, 03 Feb 2002 23:27:49 +0100 [thread overview]
Message-ID: <3C5DB965.643661F2@scali.com> (raw)
In-Reply-To: <3C5D3BC9.CA9E24A@scali.com> <Pine.LNX.4.33.0202031632580.11943-100000@localhost.localdomain> <20020203143946.H29553@suse.de>
Jens Axboe wrote:
>
> On Sun, Feb 03 2002, Ingo Molnar wrote:
> >
> > On Sun, 3 Feb 2002, Steffen Persvold wrote:
> >
> > > Can generic_make_request() be called from interrupt level (or tasklet)
> > > ?
> >
> > no.
>
> In theory, READA from interrupt context would be ok, though. That
> doesn't work in real-life due to the non flag saving spin locking in
> __make_request.
>
Ok, the reason I'm asking is that I receive a request from a remote machine on interrupt level
(tasklet) and want to submit this to the local device. The reason I'm using a tasklet instead of a
kernel thread is that somewhere between RedHat's 2.4.3-12 and 2.4.9-12 kernels the latency of waking
up a kernel thread increased (using a semaphore method similar to the one used in loop.c). I don't
know why this happened, but I guess that if I still could use a kernel thread there wouldn't be any
problems using generic_make_request().
Regards,
--
Steffen Persvold | Scalable Linux Systems | Try out the world's best
mailto:sp@scali.com | http://www.scali.com | performing MPI implementation:
Tel: (+47) 2262 8950 | Olaf Helsets vei 6 | - ScaMPI 1.13.8 -
Fax: (+47) 2262 8951 | N0621 Oslo, NORWAY | >320MBytes/s and <4uS latency
next prev parent reply other threads:[~2002-02-03 22:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-03 13:31 Short question regarding generic_make_request() Steffen Persvold
2002-02-03 15:33 ` Ingo Molnar
2002-02-03 13:39 ` Jens Axboe
2002-02-03 22:27 ` Steffen Persvold [this message]
2002-02-04 0:32 ` Ingo Molnar
2002-02-04 8:57 ` Steffen Persvold
2002-02-04 12:16 ` Ingo Molnar
2002-02-04 11:56 ` Steffen Persvold
2002-02-04 12:01 ` Steffen Persvold
2002-02-03 22:18 ` Steffen Persvold
2002-02-04 0:24 ` 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=3C5DB965.643661F2@scali.com \
--to=sp@scali.com \
--cc=axboe@suse.de \
--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 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.