Thread (21 messages) 21 messages, 3 authors, 2021-12-07

Re: [RFC PATCH 01/14] fs/proc/vmcore: Update read_from_oldmem() for user pointer

From: Christoph Hellwig <hch@lst.de>
Date: 2021-12-07 11:15:33
Also in: kexec, lkml

On Mon, Dec 06, 2021 at 03:07:15PM +0000, Matthew Wilcox wrote:
quoted
quoted
What do you think to adding a generic copy_pfn_to_iter()?  Not sure
which APIs to use to implement it ... some architectures have weird
requirements about which APIs can be used for what kinds of PFNs.
Hmm.  I though kmap_local_pfn(_prot) is all we need?
In the !HIGHMEM case, that calls pfn_to_page(), and I think the
point of this path is that we don't have a struct page for this pfn.
Indeed.  But to me this suggest that the !highmem stub is broken and
we should probably fix it rather than adding yet another interface.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help