lkml.org 
[lkml]   [2003]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: process resident in memory
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.118 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site