From: "Arijit Das" <Arijit.Das@synopsys.com>
To: "Jakub Jelinek" <jakub@redhat.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Shared library holes in x86_64
Date: Mon, 3 Oct 2005 12:57:17 +0530 [thread overview]
Message-ID: <7EC22963812B4F40AE780CF2F140AFE9168367@IN01WEMBX1.internal.synopsys.com> (raw)
Thanks Jakub...
I didn't get the exact reason in the previous thread...so rephrased my
question to make it more specific this time.
> x86-64 binaries and shared libraries are required to handle page sizes
up
> to 1MB and as RE and RW segments can't be on the same page, this means
they
> must not share the same 1MB page.
This is what I was looking at...
Thanks a lot.
-Arijit
-----Original Message-----
From: Jakub Jelinek [mailto:jakub@redhat.com]
Sent: Monday, October 03, 2005 12:48 PM
To: Arijit Das
Cc: linux-kernel@vger.kernel.org
Subject: Re: Shared library holes in x86_64
On Mon, Oct 03, 2005 at 12:00:05PM +0530, Arijit Das wrote:
> If I strace a "/bin/sleep 23" command in a RHAS3.0/x86-AMD64 machine,
I
> see that holes are being created in some of the mapped shared
libraries
> using the mprotect system call like this:
I explained it 3 days ago, so once again:
x86-64 binaries and shared libraries are required to handle page sizes
up
to 1MB and as RE and RW segments can't be on the same page, this means
they
must not share the same 1MB page.
Just google for ELF_MAXPAGESIZE or look at the libraries using readelf
-Wl.
Jakub
next reply other threads:[~2005-10-03 7:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 7:27 Arijit Das [this message]
[not found] <7EC22963812B4F40AE780CF2F140AFE916835A@IN01WEMBX1.internal.synopsys.com>
2005-10-03 7:18 ` Jakub Jelinek
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=7EC22963812B4F40AE780CF2F140AFE9168367@IN01WEMBX1.internal.synopsys.com \
--to=arijit.das@synopsys.com \
--cc=jakub@redhat.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®