Caculate the physical address using fd and offset in persistent memory
30 views
Skip to first unread message
yufan jia
unread,
Sep 27, 2022, 11:31:12 PM9/27/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pmem
Hi, just as the title says, I'm wondering if I can get the physical address via fd and offset when I use PM via file mapping. Thanks!
Eduardo Berrocal
unread,
Sep 28, 2022, 11:33:05 AM9/28/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pmem
Hi!,
Not sure what you are trying to do but... PM is mapped by the kernel using virtual memory. What you can get is the virtual address, but that won't help you if your server restarts since PM could be mapped in another address range.