Jens Axboe 5972511b77 [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 <jens.axboe@oracle.com>
2007-04-30 09:08:17 +02:00
..
2007-04-19 19:20:52 -04:00
2007-04-17 16:36:28 -07:00
2007-03-09 21:06:40 -05:00
2007-04-25 22:28:26 -07:00
2007-04-27 10:57:30 -07:00
2007-02-11 10:51:24 -08:00