From: Robert Love <rml@tech9.net>
To: mersan@ceng.metu.edu.tr
Cc: linux-kernel@vger.kernel.org
Subject: Re: process resident in memory
Date: 18 Mar 2003 13:08:35 -0500 [thread overview]
Message-ID: <1048010915.828.120.camel@phantasy.awol.org> (raw)
In-Reply-To: <3E772B7D.3010309@ceng.metu.edu.tr>
On Tue, 2003-03-18 at 09:21, Mehmet Ersan TOPALOGLU wrote:
> 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?
nice works given a PID. You can call renice(1) from the command line or
you can use the nice(2) or setpriority(2) system calls.
Note you need to be root to lower the nice value (increase the priority)
of a process.
Unfortunately mlockall() only works from a process in the address
space. And it is not inherited on fork(). Tough luck.
Robert Love
next prev parent reply other threads:[~2003-03-18 17:57 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
2003-03-18 14:21 ` Mehmet Ersan TOPALOGLU
2003-03-18 18:08 ` Robert Love [this message]
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=1048010915.828.120.camel@phantasy.awol.org \
--to=rml@tech9.net \
--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®