mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Hemment <markhe@veritas.com>
To: Jens Axboe <axboe@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: ll_rw_blk.c and high memory
Date: Wed, 30 May 2001 12:47:18 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0105301233390.7153-100000@alloc> (raw)

Hi Jens, all,

  In drivers/block/ll_rw_blk.c:blk_dev_init(), the high and low queued
sectors are calculated from the total number of free pages in all memory
zones.  Shouldn't this calculation be passed upon the number of pages upon
which I/O can be done directly (ie. without bounce pages)?

  On a box with gigabytes of memory, high_queued_sectors becomes larger
than the amount of memory upon which block I/O can be directly done - the
test in ll_rw_block() against high_queued_sectors is then never true.  The
throttling of submitting I/O happens much earlier in the stack - at
the allocation of a bounce page.  This doesn't seem right.

Mark


             reply	other threads:[~2001-05-30 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-30 11:47 Mark Hemment [this message]
2001-05-30 12:08 ` 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=Pine.LNX.4.21.0105301233390.7153-100000@alloc \
    --to=markhe@veritas.com \
    --cc=axboe@suse.de \
    --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®