On Tue, Jan 04, 2022 at 01:10:24AM +0100, Vlastimil Babka wrote: > From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> > > This gives us a little bit of extra typesafety as we know that nobody > called virt_to_page() instead of virt_to_head_page(). > > [ vbabka@xxxxxxx: Use folio as intermediate step when filtering out > large kmalloc pages ] > > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Reviewed-by: Roman Gushchin <guro@xxxxxx> Thanks!