what's the mean of num in address_sapce
feng247 at yeah.net
feng247 at yeah.net
Thu Jun 11 02:46:01 EDT 2015
Hi,
in kernel 2.6.39, in /include/linux/compiler.h, I found the followed code:
# define __percpu __attribute__((noderef, address_space(3)))
#ifdef CONFIG_SPARSE_RCU_POINTER
# define __rcu __attribute__((noderef, address_space(4)))
#else
# define __rcu
address_space(num), if num is 0 ,it means kernel space,
1 , user space; 2, io space,
so 3 and 4 means what?
I found nothing about this by google.
Thanks,
feng
feng247 at yeah.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150611/b5129717/attachment-0001.html
More information about the Kernelnewbies
mailing list