Re: Idea about a disc backed ram filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-06-09 at 16:27 -0300, Matheus Izvekov wrote:
> On 6/9/06, Lee Revell <[email protected]> wrote:
> > On Fri, 2006-06-09 at 12:07 -0300, Matheus Izvekov wrote:
> > > Ok, but reality is that, even if i setup a swap partition with the
> > > most lazy swapiness, it will swap my processes out. Is there a
> > > pratical way to pin all processes to ram or otherwise tell the vm to
> > > never swap any process? If there is, then you are right, there is no
> > > point in doing this.
> > >
> >
> > echo 0 > /proc/sys/vm/swappiness
> >
> > Lee
> 
> 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

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux