All of lore.kernel.org
 help / color / mirror / Atom feed
From: "P.O. Gaillard" <pierre-olivier.gaillard@fr.thalesgroup.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Subject: Can on-demand loading of user-space executables be disabled ?
Date: Mon, 30 Jan 2006 11:12:39 +0100	[thread overview]
Message-ID: <43DDE697.5000007@fr.thalesgroup.com> (raw)

Hello,

As far as I understand what happens when I start a Linux program, the executable 
file is mmaped into memory and the execution of the code itself prompts Linux to 
load the required pages of the program.

I expect that this could cause unwanted delays during program execution when a 
function that has never been used (nor loaded into memory) is called. This delay 
could be bigger than 10ms while the 2.6 kernel is usually quite predictable 
thanks to Ingo Molnar and others' work.

Is Linux really using on-demand loading ?
Is it very different from what I described in the first paragraph ?
Can on-demand loading be disabled ? (This would seem convenient for my 
applications since I generally start a program that is meant to run as 
predictably as possible for months.)

    thanks for your help,


   P.O. Gaillard


             reply	other threads:[~2006-01-30 10:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 10:12 P.O. Gaillard [this message]
2006-01-31  8:43 ` Can on-demand loading of user-space executables be disabled ? Helge Hafting
2006-01-31 10:28   ` Antonio Vargas
2006-02-07 16:45     ` P.O. Gaillard
  -- strict thread matches above, loose matches on Subject: below --
2006-01-30 12:00 linux

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=43DDE697.5000007@fr.thalesgroup.com \
    --to=pierre-olivier.gaillard@fr.thalesgroup.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.