linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Convert vmcore to use an iov_iter
@ 2021-12-13 14:19 Matthew Wilcox (Oracle)
  2021-12-13 14:19 ` [PATCH v2 1/3] vmcore: Convert __read_vmcore " Matthew Wilcox (Oracle)
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Matthew Wilcox (Oracle) @ 2021-12-13 14:19 UTC (permalink / raw)
  To: Baoquan He, Vivek Goyal, Dave Young, kexec
  Cc: Matthew Wilcox (Oracle),
	Tiezhu Yang, linux-kernel, Amit Daniel Kachhap,
	Christoph Hellwig, linux-fsdevel

For some reason several people have been sending bad patches to fix
compiler warnings in vmcore recently.  Here's how it should be done.
Compile-tested only on x86.  As noted in the first patch, s390 should
take this conversion a bit further, but I'm not inclined to do that
work myself.

v2:
 - Removed unnecessary kernel-doc
 - Included uio.h to fix compilation problems
 - Made read_from_oldmem_iter static to avoid compile warnings during the
   conversion
 - Use iov_iter_truncate() (Christoph)

Matthew Wilcox (Oracle) (3):
  vmcore: Convert __read_vmcore to use an iov_iter
  vmcore: Convert read_from_oldmem() to take an iov_iter
  iov-kaddr

 arch/x86/kernel/crash_dump_64.c |   7 +-
 fs/9p/vfs_dir.c                 |   5 +-
 fs/9p/xattr.c                   |   6 +-
 fs/proc/vmcore.c                | 119 ++++++++++++--------------------
 include/linux/crash_dump.h      |  10 ++-
 include/linux/uio.h             |   9 +++
 lib/iov_iter.c                  |  32 +++++++++
 7 files changed, 97 insertions(+), 91 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-13 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 14:19 [PATCH v2 0/3] Convert vmcore to use an iov_iter Matthew Wilcox (Oracle)
2021-12-13 14:19 ` [PATCH v2 1/3] vmcore: Convert __read_vmcore " Matthew Wilcox (Oracle)
2021-12-13 14:19 ` [PATCH v2 2/3] vmcore: Convert read_from_oldmem() to take " Matthew Wilcox (Oracle)
2021-12-13 14:19 ` [PATCH v2 3/3] iov-kaddr Matthew Wilcox (Oracle)
2021-12-13 14:34   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).