From: Benjamin LaHaise Date: Thu, 23 Mar 2006 11:01:08 +0000 (-0800) Subject: [PATCH] reduce size of bio mempools X-Git-Tag: v2.6.17-rc1~1001 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e6e962992b76580f4900b166a337bad7c1e81b;p=pandora-kernel.git [PATCH] reduce size of bio mempools The biovec default mempool limit of 256 entries results in over 3MB of RAM being permanently pinned, even on systems with only 128MB of RAM. Since mempool tries to allocate from the system pool first, it makes sense to reduce the size of the mempool fallbacks to a more reasonable limit of 1-5 entries -- enough for the system to be able to make progress even under load. Signed-off-by: Benjamin LaHaise Acked-by: Jens Axboe Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed