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
..
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2007-02-07 18:32:18 -05:00
2007-04-27 15:19:27 -07:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-09-12 17:12:31 -05:00
2007-02-17 02:40:24 +01:00
2006-11-22 14:57:56 +00:00
2007-02-07 15:50:06 -08:00
2007-01-27 09:26:36 -06:00
2006-09-23 15:33:43 -05:00
2006-12-05 10:25:35 -06:00
2006-09-12 17:12:31 -05:00
2006-11-30 05:24:39 +01:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2007-01-27 09:28:58 -06:00
2007-02-09 09:14:07 -08:00
2006-11-22 14:57:56 +00:00
2007-01-03 16:57:38 -06:00
2007-01-13 13:49:58 -06:00
2006-11-15 16:43:50 -06:00