I try to mmap a file in a linux kernel module. I have tried to use the function do_mmap_pgoff
. But the address returned is memory virtual address in current process' user space, i.e., below the kernel boundary. Instead, I want to map the file in the kernel space and get the kernel virtual address of the mapped region. Is there any kernel API in Linux support this operation? Thanks
0条回答
相关问题
- Kernel oops Oops: 80000005 on arm embedded system
- Lazily Reading a File in D
- Linux kernel behaviour on heap overrun or stack ov
- Where is the standard kernel libraries to let kern
- What is the difference between /dev/mem, /dev/kmem
相关文章
- Enable dynamic debug for multiple files at boot
- What does it take to be durable on Linux?
- Difference in ABI between x86_64 Linux functions a
- Why are there no debug symbols in my vmlinux when
- ccflag option in Makefile
- A HR timers precision study case
- How to get memory address from memfd_create?
- How can the linux bottom halfs execute in interrup