Replies: 2 comments
-
mmap()-able array map allocation
TODO
|
Beta Was this translation helpful? Give feedback.
0 replies
-
References |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Userspace address of the map:
0x7f694c096000
(Address of the first element in the mmap()-able array)Userspace address of heap allocated int:
0x562826c616b0
kernel address of the map:
00000000f1d1465d
(Address of the first element in the mmap()-able array)kernel address of the heap allocated int:
000000001706ee08
(Fetched from the map)In the kernel mmap()-able array maps are allocated here
Adding
printk("Allocated map addr: %p\n", data)
is printing:Beta Was this translation helpful? Give feedback.
All reactions