From: James Bottomley <James.Bottomley@steeleye.com>
To: Andrew Morton <akpm@digeo.com>
Cc: Patrick Mansfield <patmans@us.ibm.com>,
luben@splentec.com,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: scsi command slab allocation under memory pressure
Date: 31 Jan 2003 08:46:44 -0500 [thread overview]
Message-ID: <1044020591.2002.16.camel@mulgrave> (raw)
In-Reply-To: <20030130225738.1874c2e0.akpm@digeo.com>
On Fri, 2003-01-31 at 01:57, Andrew Morton wrote:
> Please do not reinvent the mm/mempool.c functionality.
>
> 'twould be better to just use it ;)
Unfortunately, in this instance, mempool is a slight overkill. The
problem is that we need to guarantee that a command (or set of commands)
be available to a given device regardless of what's going on in the rest
of the system. Thus we might need a mempool for each active device,
rather than a mempool for all devices and a mechanism for giving fine
grained control to the pool depth per device. Mempool would fit all of
the above, I was just concerned that it looks to be a rather heavy
addition (in terms of structure size) per device.
James
next prev parent reply other threads:[~2003-01-31 13:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-29 18:47 scsi command slab allocation under memory pressure Patrick Mansfield
2003-01-29 19:40 ` Luben Tuikov
2003-01-29 20:11 ` Patrick Mansfield
2003-01-29 22:26 ` Luben Tuikov
2003-01-31 6:57 ` Andrew Morton
2003-01-31 13:46 ` James Bottomley [this message]
2003-01-31 20:44 ` Andrew Morton
2003-02-01 2:46 ` Patrick Mansfield
2003-02-03 22:55 ` Doug Ledford
2003-02-03 22:59 ` Andrew Morton
2003-02-03 23:05 ` James Bottomley
2003-02-03 23:19 ` Andrew Morton
2003-02-04 18:04 ` Luben Tuikov
2003-02-04 6:15 ` Andre Hedrick
2003-01-29 22:53 ` James Bottomley
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=1044020591.2002.16.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=akpm@digeo.com \
--cc=linux-scsi@vger.kernel.org \
--cc=luben@splentec.com \
--cc=patmans@us.ibm.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 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.