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-27 10:57:31 -07:00
2007-04-27 10:57:34 -07:00
2007-03-27 09:05:15 -07:00
2007-04-07 10:03:43 -07:00
2007-04-25 22:30:01 -07:00
2007-04-25 22:29:10 -07:00
2007-04-25 22:24:41 -07:00
2007-04-25 22:29:10 -07:00
2007-03-01 14:53:38 -08:00
2007-04-25 22:25:52 -07:00
2007-04-25 22:29:49 -07:00
2007-03-04 11:12:42 +02:00
2007-03-01 14:53:35 -08:00
2007-03-12 16:31:50 -07:00
2007-03-16 19:25:05 -07:00
2007-03-12 16:31:50 -07:00
2007-03-27 08:55:47 +02:00
2007-04-17 16:36:26 -07:00
2007-04-27 10:57:33 -07:00
2007-04-27 10:46:51 -07:00
2007-04-25 22:29:45 -07:00
2007-03-05 07:57:51 -08:00
2007-04-26 00:10:29 -07:00