From: Arjan van de Ven <arjan@infradead.org>
To: Jens Axboe <axboe@suse.de>
Cc: "Chen, Kenneth W" <kenneth.w.chen@intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC] add sysfs to dynamically control blk request tag maintenance
Date: Fri, 07 Oct 2005 10:25:20 +0200 [thread overview]
Message-ID: <1128673521.4145.1.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <20051007080620.GQ2889@suse.de>
> The request itself has been
> touched by scsi_end_request() already, so unless the layout is really
> bad we shouldn't need to fetch a lot of cache lines there. That leaves
> __test_and_clear_bit(), I guess that must be it.
__test_and_clear_bit() is cheap; it's a single non-locked instruction.
Arguably it should be converted into a C variant so that the compiler
can pick the best code sequence (I'm not so sure the asm we picked for
this is optimal for all processors, I bet it'll be microcoded) but I'd
be surprised if it'd be more than a handful of cycles no matter what.
next prev parent reply other threads:[~2005-10-07 8:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-07 7:35 Chen, Kenneth W
2005-10-07 7:41 ` Jens Axboe
2005-10-07 7:50 ` Arjan van de Ven
2005-10-07 8:06 ` Jens Axboe
2005-10-07 8:25 ` Arjan van de Ven [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-07 8:13 Chen, Kenneth W
2005-10-07 16:57 ` Andrew Vasquez
2005-10-07 18:17 ` Jens Axboe
2005-10-07 8:04 Chen, Kenneth W
2005-10-07 7:52 Chen, Kenneth W
2005-10-07 8:07 ` Jens Axboe
2005-10-07 2:46 Chen, Kenneth W
2005-10-07 7:23 ` Jens Axboe
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=1128673521.4145.1.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=axboe@suse.de \
--cc=kenneth.w.chen@intel.com \
--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 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®