|
|
Subscribe / Log in / New account

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.


to post comments

Moving physical pages from user space

Posted Sep 19, 2023 0:47 UTC (Tue) by xecycle (subscriber, #140261) [Link]

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.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds