linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Joakim Tjernlund" <joakim.tjernlund@lumentis.se>
To: "'Peter Bergner'" <bergner@vnet.ibm.com>,
	"'Franz Sirl'" <Franz.Sirl-ppc@lauterbach.com>
Cc: <linuxppc-dev@lists.linuxppc.org>
Subject: Re: TASK_UNMAPPED_BASE
Date: Thu, 5 Feb 2004 09:57:41 +0100	[thread overview]
Message-ID: <001301c3ebc6$1d9f0a80$0a01a8c0@LUMENTIS02> (raw)
In-Reply-To: <1075905440.2895.23.camel@otta.rchland.ibm.com>


> On Tue, 2004-02-03 at 09:22, Franz Sirl wrote:
> > At 14:05 03.02.2004, Joakim Tjernlund wrote:
> >> I changed TASK_UNMAPPED_BASE to well under 0x01fffffc and it worked
> >> as well.
> >>
> >> My question: Why is TASK_UNMAPPED_BASE=0x30000000 and would
> >> changing it to something less, say 0x00100000 be a problem?
> >
> > Hmm, might work, but it can also break in subtle ways, cause the
> > shared lib loading algorithm makes a few assumptions about the used
> > address ranges IIRC. But I don't see any use for it if you consider
> > what I said above.
>
> I've seen problems with HPC apps/benchmarks with huge bss's that fail
> to run because TASK_UNMAPED_BASE is set too low.

Too low, does that mean TASK_UNMAPED_BASE < 0x00100000 will fail with
huge bss's as well? Or will it just fail for
0x30000000 => TASK_UNMAPED_BASE <= 0x10000000?

To me it seems like it is a good idea to change(at least in 2.6
where the bugs you mentioned has been fixed) TASK_UNMAPED_BASE to
0x00100000(or lower).

Is there a way I can tell glibc to load it's libs around TASK_UNMAPED_BASE?
Currently only ld.so follows TASK_UNMAPED_BASE, the other libs always
loads at 0x0fxxxxxx. Glibc/ld.so version is 2.2.3

   Jocke

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2004-02-05  8:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-03 13:05 TASK_UNMAPPED_BASE Joakim Tjernlund
2004-02-03 15:22 ` TASK_UNMAPPED_BASE Franz Sirl
2004-02-03 16:51   ` TASK_UNMAPPED_BASE Joakim Tjernlund
2004-02-04 14:37   ` TASK_UNMAPPED_BASE Peter Bergner
2004-02-04 14:47     ` TASK_UNMAPPED_BASE Anton Blanchard
2004-02-04 21:58       ` TASK_UNMAPPED_BASE Peter Bergner
2004-02-05  8:57     ` Joakim Tjernlund [this message]
2004-02-05 16:34       ` TASK_UNMAPPED_BASE Peter Bergner
2004-02-05 17:06         ` TASK_UNMAPPED_BASE Anton Blanchard
2004-02-06 10:53           ` TASK_UNMAPPED_BASE Joakim Tjernlund
2004-02-05 17:10         ` TASK_UNMAPPED_BASE Joakim Tjernlund

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='001301c3ebc6$1d9f0a80$0a01a8c0@LUMENTIS02' \
    --to=joakim.tjernlund@lumentis.se \
    --cc=Franz.Sirl-ppc@lauterbach.com \
    --cc=bergner@vnet.ibm.com \
    --cc=linuxppc-dev@lists.linuxppc.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).