]> git.baikalelectronics.ru Git - kernel.git/commit
s390/zcore: Add hsa file
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Mon, 21 Jan 2013 17:37:41 +0000 (18:37 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 14 Feb 2013 14:55:06 +0000 (15:55 +0100)
commitc5aee8c5f4e21ffcce36a24d655685eccac21604
tree1d19f77306bdf32d48cb6ea7f51703e8678a5fb3
parent02e8a2ad029bd0f466bad652e78f978187218b1d
s390/zcore: Add hsa file

Under LPAR the zfcpdump HSA is a shared resource. Up to now the HSA memory
is released when the zcore file is closed. Dump programs that know that
they do not need the HSA memory any more (e.g. because they already dumped it)
could release it earlier. This would allow other LPARs to use it again.

To achieve this a new debugfs file "hsa" is added that can be used to read
the HSA size and to release the HSA by writing "0" into the file.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/zcore.c