Searched hist:"5972511 b77809cb7c9ccdb79b825c54921c5c546" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-io.c | diff 5972511b77809cb7c9ccdb79b825c54921c5c546 Mon Apr 02 03:06:42 CDT 2007 Jens Axboe <jens.axboe@oracle.com> [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>
|
H A D | dm-crypt.c | diff 5972511b77809cb7c9ccdb79b825c54921c5c546 Mon Apr 02 03:06:42 CDT 2007 Jens Axboe <jens.axboe@oracle.com> [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>
|
H A D | dm.c | diff 5972511b77809cb7c9ccdb79b825c54921c5c546 Mon Apr 02 03:06:42 CDT 2007 Jens Axboe <jens.axboe@oracle.com> [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>
|
/openbmc/linux/include/linux/ |
H A D | bio.h | diff 5972511b77809cb7c9ccdb79b825c54921c5c546 Mon Apr 02 03:06:42 CDT 2007 Jens Axboe <jens.axboe@oracle.com> [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>
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_lib.c | diff 5972511b77809cb7c9ccdb79b825c54921c5c546 Mon Apr 02 03:06:42 CDT 2007 Jens Axboe <jens.axboe@oracle.com> [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>
|