From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-kernel@vger.kernel.org
Cc: Ricky Beam <jfbeam@bluetronic.net>, <ak@suse.de>,
Andrew Morton <akpm@osdl.org>, <arjanv@redhat.com>
Subject: Re: breakage: flex mmap patch for x86-64
Date: Sat, 6 Nov 2004 00:26:48 +0100 [thread overview]
Message-ID: <200411060026.48571.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.GSO.4.33.0411051751290.9358-100000@sweetums.bluetronic.net>
On Friday 05 of November 2004 23:54, Ricky Beam wrote:
> On Fri, 5 Nov 2004, Rafael J. Wysocki wrote:
> >> This prevents 32bit apps from running on x86_64. Backing out the
Makefile
> >> and processor.h changes has everything working again. Perhaps something
> >> needs to check for a 32bit environment? I don't know if it's the change
> >> to TASK_SIZE or the "backwards" mmaps that's the real breakage. And at
this
> >> point, I don't have time to test.
> >>
> >> (64bit apps work just fine.)
> >
> >Confirmed, and apparently it is not sifficient to change the TASK_SIZE
> >definition in include/asm-x86_64/processor.h to make the 32-bit userland
> >work. Hence, it seems that the "backwards" mmaps break things.
>
> Looks like checking for PER_LINUX32 might fix it...
>
> >>> if (current->personality & (ADDR_COMPAT_LAYOUT|PER_LINUX32))
It does not seem to work either.
Greets,
RJW
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
next prev parent reply other threads:[~2004-11-05 23:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-05 22:24 Ricky Beam
2004-11-05 22:51 ` Rafael J. Wysocki
2004-11-05 22:54 ` Ricky Beam
2004-11-05 23:26 ` Rafael J. Wysocki [this message]
2004-11-06 7:57 ` Ricky Beam
2004-11-06 9:12 ` Andi Kleen
2004-11-06 9:50 ` Rafael J. Wysocki
2004-11-06 12:50 ` Andi Kleen
2004-11-06 21:32 ` Ricky Beam
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=200411060026.48571.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=arjanv@redhat.com \
--cc=jfbeam@bluetronic.net \
--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®