linux-sg2042/drivers/s390
Heiko Carstens 3f4298427a s390/vmcp: make use of contiguous memory allocator
If memory is fragmented it is unlikely that large order memory
allocations succeed. This has been an issue with the vmcp device
driver since a long time, since it requires large physical contiguous
memory ares for large responses.

To hopefully resolve this issue make use of the contiguous memory
allocator (cma). This patch adds a vmcp specific vmcp cma area with a
default size of 4MB. The size can be changed either via the
VMCP_CMA_SIZE config option at compile time or with the "vmcp_cma"
kernel parameter (e.g. "vmcp_cma=16m").

For any vmcp response buffers larger than 16k memory from the cma area
will be allocated. If such an allocation fails, there is a fallback to
the buddy allocator.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-08-09 09:09:35 -04:00
..
block s390/dasd: constify attribute_group structures. 2017-07-26 08:25:17 +02:00
char s390/vmcp: make use of contiguous memory allocator 2017-08-09 09:09:35 -04:00
cio s390/cio: add const to bin_attribute structures 2017-08-03 13:16:30 +02:00
crypto s390/zcrypt_card: constify attribute_group structures. 2017-07-26 08:25:17 +02:00
net s390/qeth: constify attribute_group structures. 2017-07-26 08:25:19 +02:00
scsi SCSI misc on 20170220 2017-02-21 11:51:42 -08:00
virtio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-05-16 09:24:44 -07:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00