public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Matheus Izvekov <mizvekov@gmail.com>
Cc: Horst von Brand <vonbrand@inf.utfsm.cl>,
	Sascha Nitsch <Sash_lkl@linuxhowtos.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Idea about a disc backed ram filesystem
Date: Fri, 09 Jun 2006 16:03:22 -0400	[thread overview]
Message-ID: <1149883402.3894.265.camel@mindpipe> (raw)
In-Reply-To: <305c16960606091243h10638b2ayb7f1066bb839e496@mail.gmail.com>

On Fri, 2006-06-09 at 16:43 -0300, Matheus Izvekov wrote:
> On 6/9/06, Lee Revell <rlrevell@joe-job.com> wrote:
> > On Fri, 2006-06-09 at 16:27 -0300, Matheus Izvekov wrote:
> > > Sorry, i took a look at the code which handles this and swappiness = 0
> > > doesnt seem to imply that process memory will never be swapped out.
> > >
> >
> > OK, then use mlockall().
> >
> > Lee
> >
> >
> 
> If i make init mlockall, would all child processes be mlocked too?

No.

> If not, using this to enforce a system wide policy seems a bit hacky
> and non trivial.
> 

Well, what you are trying to do seems hacky.  What real world problem
are you trying to solve that setting swappiness to 0 is not sufficient
for?

Lee




  reply	other threads:[~2006-06-09 20:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Sash_lkl@linuxhowtos.org>
2006-06-08 20:33 ` Idea about a disc backed ram filesystem Sascha Nitsch
2006-06-08 20:43   ` Lennart Sorensen
2006-06-08 21:12     ` Sash
2006-06-09 10:45       ` Jan Engelhardt
2006-06-08 21:51   ` Horst von Brand
2006-06-08 22:39     ` Joshua Hudson
2006-06-08 22:48   ` Matheus Izvekov
2006-06-08 23:40     ` Måns Rullgård
2006-06-09  1:01       ` Matheus Izvekov
2006-06-09  8:52         ` Måns Rullgård
2006-06-09  2:17     ` Horst von Brand
2006-06-09  4:59       ` Matheus Izvekov
2006-06-09 13:43         ` Horst von Brand
2006-06-09 15:07           ` Matheus Izvekov
2006-06-09 18:43             ` Lee Revell
2006-06-09 19:27               ` Matheus Izvekov
2006-06-09 19:31                 ` Lee Revell
2006-06-09 19:43                   ` Matheus Izvekov
2006-06-09 20:03                     ` Lee Revell [this message]
2006-06-09 21:23                       ` Matheus Izvekov
2006-06-09 23:37             ` Horst von Brand
2006-06-09  6:33   ` Andi Kleen

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=1149883402.3894.265.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=Sash_lkl@linuxhowtos.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mizvekov@gmail.com \
    --cc=vonbrand@inf.utfsm.cl \
    /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