Moving physical pages from user space
Moving physical pages from user space
Posted Sep 18, 2023 15:53 UTC (Mon) by quotemstr (subscriber, #45331)Parent article: Moving physical pages from user space
Why can't the process wanting to migrate the page just mmap it, even use the virtual memory APIs? How does it know what the right PFN even is? This API seems bad.
Posted Sep 19, 2023 0:47 UTC (Tue)
by xecycle (subscriber, #140261)
[Link]
Moving physical pages from user space
Seconded. Obtain a pseudo fd and map it, copy over the old page, let the user resolve thread races, then remap over the old address.