From: Benjamin LaHaise <bcrl@redhat.com>
To: "Bao C. Ha" <baoha@sensoria.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Different old_mmap behavior between 2.4.5 and 2.4.8
Date: Mon, 10 Sep 2001 21:49:46 -0400 [thread overview]
Message-ID: <20010910214946.A16760@redhat.com> (raw)
In-Reply-To: <028701c13a61$67bf17e0$456c020a@SENSORIA>
In-Reply-To: <028701c13a61$67bf17e0$456c020a@SENSORIA>; from baoha@sensoria.com on Mon, Sep 10, 2001 at 06:30:55PM -0700
On Mon, Sep 10, 2001 at 06:30:55PM -0700, Bao C. Ha wrote:
> Is this supposed to be the correct behavior? What changes
> make the newer kernels to return different pointers? We
> are running on the sh4 architecture but I think these calls
> come from malloc() which should be arch-independent.
The result from earlier kernels is wrong. If your code
requires that the same address is returned as was specified
then you need to pass in the MAP_FIXED flag.
-ben
next prev parent reply other threads:[~2001-09-11 1:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-11 1:30 Different old_mmap behavior between 2.4.5 and 2.4.8 Bao C. Ha
2001-09-11 1:49 ` Benjamin LaHaise [this message]
2001-09-11 18:31 ` Bao C. Ha
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=20010910214946.A16760@redhat.com \
--to=bcrl@redhat.com \
--cc=baoha@sensoria.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