summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2022-07-19 07:16:35 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2022-07-20 17:21:41 +0200
commit6d2e5a4a13da2e91a46a37cd00d23dba8613ad7b (patch)
treeedbdcca483dc5378818aa1a20582fa7a1b4c9927 /arch/s390/include/asm
parentd6da67378198e4caa37404f87851659553b936b9 (diff)
downloadlinux-6d2e5a4a13da2e91a46a37cd00d23dba8613ad7b.tar.gz
linux-6d2e5a4a13da2e91a46a37cd00d23dba8613ad7b.tar.bz2
linux-6d2e5a4a13da2e91a46a37cd00d23dba8613ad7b.zip
s390/crash: use static swap buffer for copy_to_user_real()
Currently a temporary page-size buffer is allocated for copying oldmem to user space. That limits copy_to_user_real() operation only to stages when virtual memory is available and still makes it possible to fail while the system is being dumped. Instead of reallocating single page on each copy_oldmem_page() iteration use a statically allocated buffer. This also paves the way for a further memcpy_real() rework where no swap buffer is needed altogether. Acked-by: Heiko Carstens <hca@linux.ibm.com> Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com> Link: https://lore.kernel.org/r/334ed359680c4d45dd32feb104909f610312ef0f.1658206891.git.agordeev@linux.ibm.com Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
0 files changed, 0 insertions, 0 deletions