From: Jens Axboe Date: Mon, 2 Apr 2007 08:06:42 +0000 (+0200) Subject: [BLOCK] Don't pin lots of memory in mempools X-Git-Tag: v2.6.22-rc1~1108^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5972511b77809cb7c9ccdb79b825c54921c5c546;p=pandora-kernel.git [BLOCK] Don't pin lots of memory in mempools Currently we scale the mempool sizes depending on memory installed in the machine, except for the bio pool itself which sits at a fixed 256 entry pre-allocation. There's really no point in "optimizing" this OOM path, we just need enough preallocated to make progress. A single unit is enough, lets scale it down to 2 just to be on the safe side. This patch saves ~150kb of pinned kernel memory on a 32-bit box. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed