mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Mehmet Ersan TOPALOGLU <mersan@ceng.metu.edu.tr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: process resident in memory
Date: Tue, 18 Mar 2003 09:03:33 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.53.0303180901001.26924@chaos> (raw)
In-Reply-To: <3E772604.5050604@ceng.metu.edu.tr>

On Tue, 18 Mar 2003, Mehmet Ersan TOPALOGLU wrote:

> Alex Riesen wrote:
> > Mehmet Ersan TOPALOGLU, Tue, Mar 18, 2003 07:28:57 +0100:
> >
> >>I am a newbie in kernel programming.
> >>And am sorry if something related previously asked.
> >>I wonder if it is possible to following situation is possible or not.
> >>
> >>let say i have a user process p1.
> >
> >
> > That (user process) has nothing to do with kernel programming.
> >
> >
> >>p1 does some malloc, and file i/o etc
> >>i initiate it during boot time.
> >>it stays resident in memory as if kernel it self (??)
> >
> >
> > no. It is as long resident as it wish. Or until it is killed.
> >
> >
> >>and its priority is very very high
> >
> >
> > it is irrelevant.
> >

Yes, but he didn't know what was available in user-mode.


>
> Well i guess i couldn't explain what i really meant.
> Thing is that i am trying to change kernel memory management
> specifically for one user process only.
> i.e if kernel sees this process it will treat it in a different manner.
> It won't let it to be swapped and give a very high priority to it.
> I just wondered the possiblity of this.
> Sorry for my poor english
>

You want to execute:

man mlockall
man nice


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


  reply	other threads:[~2003-03-18 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  6:28 Mehmet Ersan TOPALOGLU
     [not found] ` <20030318134238.GA22953@riesen-pc.gr05.synopsys.com>
2003-03-18 13:58   ` Mehmet Ersan TOPALOGLU
2003-03-18 14:03     ` Richard B. Johnson [this message]
2003-03-18 14:21       ` Mehmet Ersan TOPALOGLU
2003-03-18 18:08         ` Robert Love
2003-03-18 15:40 Felipe Alfaro Solana

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=Pine.LNX.4.53.0303180901001.26924@chaos \
    --to=root@chaos.analogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mersan@ceng.metu.edu.tr \
    /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®