lkml.org 
[lkml]   [2003]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: swap and 2.4.20


On Sun, 5 Oct 2003, Maciej Zenczykowski wrote:

> > I remember Linus ranting about swap at one point, but it's been a while.
> >
> > What is the current state of the need for swap on a linux kernel, 2.4.20 in
> > specific. Does it need *any*, given some reasonable amount of RAM? What
> > constitutes a reasonable of RAM?
> >
> > My recent experience suggest none is needed.
>
> I have a different - slightly academic - question. Is it possible to turn
> off swapping? (not turn off swap) Ie. to prevent the kernel from
> unloading paged-in read-only executables? I realise this is a tough
> question with mmap being used for many other things besides executables...

No. Paged-in clean pages might be removed from memory at any time and
reread upon access.


-
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:49    [W:0.094 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site