s390: improve debug feature usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 17 Feb 2014 10:16:10 +0000 (11:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Feb 2014 07:50:23 +0000 (08:50 +0100)
commitf7e1e65d29636d050cdde0770b9544572959a67d
tree7cf1d6ffdbc3182ee8c19f6bfdcdfb5a681e8fc6
parentfe7c30a420761654777d3cc15412fc7626407e93
s390: improve debug feature usage

The maximum usable buffer size of the s390 debug feature (when using
the sprintf_view) is 11 * sizeof(long) (1 pointer for the format
string + 10 arguments). When a larger buffer size is specified the
additional memory is unused and wasted per debug entry. So reducing
the buffer size to its maximum (or to the actual buffer size used)
will make more precious debug feature space usable.

For pci_msg, chsc_msg, and cio_crw we use the additional usable dbf
space to reduce the number of allocated pages.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_debug.c
drivers/s390/cio/chsc_sch.c
drivers/s390/cio/cio.c
drivers/s390/net/qeth_core_main.c
This page took 0.024841 seconds and 5 git commands to generate.