From mboxrd@z Thu Jan 1 00:00:00 1970 From: feng247@yeah.net (feng247 at yeah.net) Date: Thu, 11 Jun 2015 14:46:01 +0800 Subject: what's the mean of num in address_sapce Message-ID: <201506111445555887596@yeah.net> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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