[PATCH v3 2/3] vmcore: Convert __read_vmcore to use an iov_iter

2021-12-13 Thread Matthew Wilcox (Oracle)
This gets rid of copy_to() and let us use proc_read_iter() instead of proc_read(). Signed-off-by: Matthew Wilcox (Oracle) --- fs/proc/vmcore.c | 81 +--- 1 file changed, 29 insertions(+), 52 deletions(-) diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.

Re: [PATCH v3 2/3] vmcore: Convert __read_vmcore to use an iov_iter

2021-12-20 Thread Baoquan He
On 12/13/21 at 02:39pm, Matthew Wilcox (Oracle) wrote: > This gets rid of copy_to() and let us use proc_read_iter() instead > of proc_read(). > > Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Baoquan He > --- > fs/proc/vmcore.c | 81 +--- > 1 fil

Re: [PATCH v3 2/3] vmcore: Convert __read_vmcore to use an iov_iter

2021-12-21 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec