diff options
author | Benjamin LaHaise <[email protected]> | 2006-03-23 03:01:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2006-03-23 07:38:18 -0800 |
commit | b0e6e962992b76580f4900b166a337bad7c1e81b (patch) | |
tree | 0caae9380c729a437e89acd5d5817a285156e26e /net/lapb/lapb_subr.c | |
parent | b73b459f72f746a031d1ef4cc7659b20a1f1acb9 (diff) |
[PATCH] reduce size of bio mempools
The biovec default mempool limit of 256 entries results in over 3MB of RAM
being permanently pinned, even on systems with only 128MB of RAM. Since
mempool tries to allocate from the system pool first, it makes sense to
reduce the size of the mempool fallbacks to a more reasonable limit of 1-5
entries -- enough for the system to be able to make progress even under
load.
Signed-off-by: Benjamin LaHaise <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Cc: Matt Mackall <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions