Re: process resident in memory

Mehmet Ersan TOPALOGLU (mersan@ceng.metu.edu.tr)
Tue, 18 Mar 2003 16:21:49 +0200


> 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

first of all i don't have chance to modify the process' code.
the thing mlockall does is exactly what i am trying to do
(at least a part of it).

So your answer is he couldn't know about user-mode so it is not possible.
What if kernel forks that process or somehow its process id is informed
to kernel?

-- 
- mersan
     mersan@ceng.metu.edu.tr
     mersan@metu.edu.tr

LIFE WORTH LIVING WITHOUT YOU?

- 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/