• Michael Holzheu's avatar
    s390/zcore: Add hsa file · b4b3d128
    Michael Holzheu authored
    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: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    b4b3d128
zcore.c 18.3 KB