kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: feng247@yeah.net (feng247 at yeah.net)
To: kernelnewbies@lists.kernelnewbies.org
Subject: what's the mean of num in address_sapce
Date: Thu, 11 Jun 2015 14:46:01 +0800	[thread overview]
Message-ID: <201506111445555887596@yeah.net> (raw)

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 

                 reply	other threads:[~2015-06-11  6:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201506111445555887596@yeah.net \
    --to=feng247@yeah.net \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).