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-24 08:23:08 -07:00
2007-02-12 09:48:47 -08:00
2007-02-20 17:10:15 -08:00
2007-04-27 15:28:45 -07:00
2007-02-12 09:48:47 -08:00
2007-04-12 15:31:42 -07:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:47 -08:00
2007-03-22 19:47:09 -07:00
2007-02-14 08:09:59 -08:00
2007-03-14 14:37:21 -07:00
2007-02-12 09:48:47 -08:00
2007-04-27 10:57:31 -07:00
2007-02-12 09:48:47 -08:00
2007-03-07 13:58:21 -05:00
2007-04-25 22:29:03 -07:00
2007-02-12 09:48:47 -08:00
2007-02-20 17:10:14 -08:00
2007-04-02 10:06:08 -07:00
2007-04-02 10:06:08 -07:00
2007-02-20 17:10:14 -08:00
2007-02-12 09:48:47 -08:00
2007-04-08 19:47:55 -07:00
2007-03-07 14:03:53 -05:00
2007-02-12 09:48:47 -08:00
2007-02-14 08:09:54 -08:00
2007-03-29 08:22:25 -07:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2006-12-22 08:55:51 -08:00
2006-12-07 08:39:42 -08:00
2007-04-27 19:16:19 +01:00
2007-02-26 11:44:51 -08:00
2007-02-17 19:13:42 +01:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:46 -08:00
2007-03-06 13:26:27 +01:00
2007-04-20 22:56:30 -07:00
2007-03-27 09:05:14 -07:00
2006-12-07 08:39:46 -08:00
2007-02-14 08:10:00 -08:00
2007-04-26 15:10:40 -07:00
2007-02-12 09:48:47 -08:00
2007-03-16 19:25:06 -07:00
2007-04-02 10:06:08 -07:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-04-24 08:23:09 -07:00
2007-02-12 09:48:47 -08:00
2007-03-16 19:25:05 -07:00
2007-04-27 10:57:33 -07:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-04-17 16:36:27 -07:00
2007-02-12 09:48:46 -08:00
2007-03-22 19:39:06 -07:00
2007-03-27 17:53:25 -07:00
2007-02-12 09:48:46 -08:00
2006-12-08 08:28:41 -08:00
2007-04-02 10:06:08 -07:00
2007-04-02 10:06:08 -07:00
2007-02-09 10:45:33 -08:00
2007-02-12 09:48:47 -08:00
2007-04-30 09:08:17 +02:00
2007-02-20 17:10:16 -08:00
2007-03-06 09:30:25 -08:00
2007-04-04 21:12:47 -07:00
2007-04-25 22:24:04 -07:00
2007-03-08 07:38:22 -08:00
2007-02-13 12:08:18 -08:00
2006-12-07 08:39:25 -08:00
2006-12-10 09:57:21 -08:00
2006-12-08 08:28:41 -08:00
2007-02-14 08:09:59 -08:00
2007-02-11 10:51:31 -08:00
2006-12-08 08:28:41 -08:00
2007-04-17 16:36:26 -07:00
2006-12-10 09:57:22 -08:00
2006-12-08 08:28:41 -08:00
2006-12-22 08:55:50 -08:00
2007-02-14 08:09:54 -08:00
2007-01-26 12:53:20 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:28 -08:00
2006-12-04 02:00:24 -05:00
2006-12-08 08:28:41 -08:00
2007-02-12 09:48:32 -08:00
2007-04-27 15:28:45 -07:00
2007-03-05 07:57:51 -08:00
2006-12-08 08:28:41 -08:00
2007-02-17 16:10:59 -05:00
2006-12-07 08:39:25 -08:00
2007-04-27 10:57:33 -07:00
2007-02-11 10:51:27 -08:00
2006-12-10 09:57:22 -08:00
2007-02-17 21:30:15 -05:00
2006-12-08 08:28:51 -08:00
2006-12-08 08:28:51 -08:00
2007-02-12 09:48:29 -08:00
2006-12-08 08:28:41 -08:00
2006-12-10 09:57:22 -08:00
2006-12-08 08:28:41 -08:00
2007-03-29 14:26:42 +02:00
2007-02-19 14:21:50 -08:00
2006-12-08 08:28:41 -08:00
2007-04-27 10:57:31 -07:00
2007-04-26 15:02:26 -07:00
2006-12-04 02:00:24 -05:00
2007-02-14 08:09:54 -08:00
2006-12-08 08:28:41 -08:00