public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hubert Tonneau <hubert.tonneau@fullpliant.org>
To: linux-kernel@vger.kernel.org
Subject: 2.6.12-rc3 mmap lack of consistency among runs
Date: Thu, 28 Apr 2005 09:59:55 GMT	[thread overview]
Message-ID: <0561FRW12@server5.heliogroup.fr> (raw)

As a way to freeze then restart processes,
the first shot of the process calls 'mmap' with NULL as 'start',
then restarts of the process will call 'mmap' with the value received at the
first shot, and expect to be assigned the requested area.

This used to work perfectly with 2.6.11 and all previous kernels (unless some
shared libraries have been upgraded in the mean time),
but with 2.6.12-rc3 (I have not tested rc1 and rc2) it fails half time.

I can solve the problem through specifying a 'start' value at the first shot,
but then I will get a more serious problem on the long run because the
application would then have to be awared of the general layout of the address
space enforced by the kernel and so could be disturbed by any change.

             reply	other threads:[~2005-04-28 10:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28  9:59 Hubert Tonneau [this message]
2005-04-29 12:47 ` 2.6.12-rc3 mmap lack of consistency among runs Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2005-04-29 12:44 Hubert Tonneau
2005-04-29 13:20 ` Andrew Morton
2005-04-29 13:34   ` Arjan van de Ven
2005-04-29 13:29 ` Arjan van de Ven
2005-04-29 14:25 Hubert Tonneau
2005-04-29 18:36 Hubert Tonneau

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=0561FRW12@server5.heliogroup.fr \
    --to=hubert.tonneau@fullpliant.org \
    --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