All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jack Steiner <steiner@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Abusing region 0
Date: Thu, 03 Feb 2005 02:25:14 +0000	[thread overview]
Message-ID: <20050203022514.GA5337@sgi.com> (raw)
In-Reply-To: <42017845.9080507@free.fr>

On Thu, Feb 03, 2005 at 02:03:01AM +0100, Menyhart, Zoltan wrote:
> I am going to do some experiments: I am going to map some of the
> virtual address ranges of a process into the address space of another
> one. They are real 64 bit processes, i.e. the region 0 is not used.
> Can I abuse this region 0 for mapping the addresses of the neighbor
> process into this region ? E.g. if process A has got an address at
> 0x6000000000001000, then I am going to map it for B at address
> 0x0000000000001000 ? Wont anything break ?
> 
> (I need this trick because the source address can correspond to
> anything, like initialized data, BSS, anonymous allocation, etc, i.e.
> some SHM just wont work.)
> 
> Any advice will be appreciated.

FWIW, I have done the same thing that you are trying except that I used
address 0x0000000010000000 instead of 0x0000000000001000. No problems.


> 
> Zoltan Menyhart
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Thanks

Jack Steiner (steiner@sgi.com)          651-683-5302
Principal Engineer                      SGI - Silicon Graphics, Inc.



  reply	other threads:[~2005-02-03  2:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03  1:03 Abusing region 0 Menyhart, Zoltan
2005-02-03  2:25 ` Jack Steiner [this message]
2005-02-03  3:52 ` David Mosberger

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=20050203022514.GA5337@sgi.com \
    --to=steiner@sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.