On Wed, Jan 02, 2019 at 04:46:27AM -0700, William Kucharski wrote: > It's tricky, simply because if someone doesn't know the size of their > current page, they would generally want to know what size the current > page is mapped as, based upon what is currently extant within that address > space. I'm not sure I agree with that. It's going to depend on exactly what this code is doing; I can definitely see there being places in the VM where we care about how this page is currently mapped, but I think those places are probably using the wrong interface (get_user_pages()) and should really be using an interface which doesn't exist yet (get_user_sg()).