linux-stable-rt/drivers/md
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
..
raid6test
.gitignore
Kconfig
Makefile
bitmap.c [PATCH] md: fix calculation for size of filemap_attr array in md/bitmap 2007-04-12 15:31:42 -07:00
dm-bio-list.h
dm-bio-record.h
dm-crypt.c [BLOCK] Don't pin lots of memory in mempools 2007-04-30 09:08:17 +02:00
dm-emc.c
dm-exception-store.c
dm-hw-handler.c
dm-hw-handler.h
dm-io.c [BLOCK] Don't pin lots of memory in mempools 2007-04-30 09:08:17 +02:00
dm-io.h
dm-ioctl.c
dm-linear.c
dm-log.c
dm-log.h
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c
dm-round-robin.c
dm-snap.c
dm-snap.h
dm-stripe.c
dm-table.c
dm-target.c
dm-zero.c
dm.c [BLOCK] Don't pin lots of memory in mempools 2007-04-30 09:08:17 +02:00
dm.h
faulty.c
kcopyd.c
kcopyd.h
linear.c
md.c [PATCH] md: avoid a deadlock when removing a device from an md array via sysfs 2007-04-04 21:12:47 -07:00
mktables.c
multipath.c
raid0.c
raid1.c
raid5.c [PATCH] md: convert compile time warnings into runtime warnings 2007-03-27 09:05:15 -07:00
raid6.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c
unroll.pl
xor.c