aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAlexander Gordeev <[email protected]>2022-07-19 07:16:36 +0200
committerAlexander Gordeev <[email protected]>2022-07-20 17:21:41 +0200
commitebbc9570169147740aa39aee1d61b4cc5a631644 (patch)
tree6e20330871a3413057779aed54ebf806b526a681 /lib/mpi/mpi-add.c
parent6d2e5a4a13da2e91a46a37cd00d23dba8613ad7b (diff)
s390/crash: support multi-segment iterators
Make it possible to handle not only single-, but also multi- segment iterators in copy_oldmem_iter() callback. Change the semantics of called functions to match the iterator model - instead of an error code the exact number of bytes copied is returned. The swap page used to copy data to user space is adopted for kernel space too. That does not bring any performance impact. Suggested-by: Matthew Wilcox <[email protected]> Fixes: cc02e6e21aa5 ("s390/crash: add missing iterator advance in copy_oldmem_page()") Acked-by: Heiko Carstens <[email protected]> Tested-by: Alexander Egorenkov <[email protected]> Link: https://lore.kernel.org/r/5af6da3a0bffe48a90b0b7139ecf6a818b2d18e8.1658206891.git.agordeev@linux.ibm.com Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions