From: Jens Axboe <axboe@suse.de>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bounce buffer usage
Date: Wed, 9 Jan 2002 19:10:22 +0100 [thread overview]
Message-ID: <20020109191022.J19814@suse.de> (raw)
In-Reply-To: <20020108084200.B19380@suse.de> <Pine.LNX.4.33L2.0201090844550.9139-100000@dragon.pdx.osdl.net>
In-Reply-To: <Pine.LNX.4.33L2.0201090844550.9139-100000@dragon.pdx.osdl.net>
On Wed, Jan 09 2002, Randy.Dunlap wrote:
> | The results look very promising, although I'm a bit surprised that 2.5
> | is actually that much quicker :-)
>
> I was too. When I have the bounce accounting straightened out,
> I'll run each test multiple times.
Good
> | +++ mm/highmem.c
> | @@ -409,7 +409,9 @@
> | vfrom = kmap(from->bv_page) + from->bv_offset;
> | memcpy(vto, vfrom, to->bv_len);
> | kunmap(from->bv_page);
> | - }
> | + bounced_write++;
> | + } else
> | + bounced_read++;
> | }
> |
> | Of course those are all bounces, not just (or only) swap bounces. Also
> | note that the above is not SMP safe.
>
> Is this the only place that kstat (kernel_stat) counters
> are not SMP safe...?
Haven't looked at the other stats, the i/o stats are protected by the
queue_lock though.
--
Jens Axboe
next prev parent reply other threads:[~2002-01-09 18:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-22 1:02 bounce buffer usage Randy.Dunlap
2001-12-23 14:09 ` Jens Axboe
2002-01-08 1:44 ` Randy.Dunlap
2002-01-08 7:42 ` Jens Axboe
2002-01-09 17:23 ` Randy.Dunlap
2002-01-09 18:10 ` Jens Axboe [this message]
2002-01-09 22:33 ` Rik van Riel
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=20020109191022.J19814@suse.de \
--to=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.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