* what's the mean of num in address_sapce
@ 2015-06-11 6:46 feng247 at yeah.net
0 siblings, 0 replies; only message in thread
From: feng247 at yeah.net @ 2015-06-11 6:46 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-11 6:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-11 6:46 what's the mean of num in address_sapce feng247 at yeah.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).