From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Simple question about pointers address space.
Date: Fri, 24 Aug 2001 18:19:23 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590698805103@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805102@msgid-missing>
>>>>> On Fri, 24 Aug 2001 14:10:23 -0400, "Dominic Duchemin" <DDuchemin@Kaydara.com> said:
Dominic> I would simply like to know if the possible address
Dominic> space (2^64) by a pointer is fulllly or partially used in
Dominic> the context of a process in the linux ia64 kernel.
All 64 bits are used (there are no ignored bits), though depending on
the OS and CPU, some of the address space may be inaccessible (will
trigger a fault if accessed).
Dominic> In the partial case, which part of the 2^64 is used.
Dominic> The anser to this question is important for
Dominic> me. Because what i try to do is to mix a reference
Dominic> counter&pointer for atomic operation on pointers. So if
Dominic> there is unused bits in the 64 bits pointer, I'll use them.
The only bits you might be able use for this purpose are low order
bits that are zero due to alignment constraints. E.g., if your
objects are all 16-byte aligned, you could use the least-significant 4
bits.
--david
prev parent reply other threads:[~2001-08-24 18:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-24 18:10 [Linux-ia64] Simple question about pointers address space Dominic Duchemin
2001-08-24 18:19 ` David Mosberger [this message]
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=marc-linux-ia64-105590698805103@msgid-missing \
--to=davidm@hpl.hp.com \
--cc=linux-ia64@vger.kernel.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