Thread (97 messages) 97 messages, 14 authors, 2022-11-03

RE: [PATCH v8 1/8] mm/memfd: Introduce userspace inaccessible memfd

From: Wang, Wei W <hidden>
Date: 2022-09-22 13:27:04
Also in: kvm, linux-doc, linux-fsdevel, linux-mm, lkml, qemu-devel

On Thursday, September 15, 2022 10:29 PM, Chao Peng wrote:
+int inaccessible_get_pfn(struct file *file, pgoff_t offset, pfn_t *pfn,
+			 int *order)
Better to remove "order" from this interface?
Some callers only need to get pfn, and no need to bother with
defining and inputting something unused. For callers who need the "order",
can easily get it via thp_order(pfn_to_page(pfn)) on their own.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help