As far as I understand, the use in the GFP_USER
flag (in the call to kmalloc
) is used to allocate memory for user space. Does it means that the allocated page are in kernel space, which are accessible to user?
Does these pages required to be mmapp
'ed in user space or the address is directly accessible to user.
If they need to mmapp
then what is difference between GFP_USER
and GFP_KERNEL
?
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Kernel oops Oops: 80000005 on arm embedded system
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
Brief explanation can be found in kernel sources:
From here: