* Anonymous memory on machines without swap
@ 2008-09-01 15:59 Sitsofe Wheeler
0 siblings, 0 replies; 4+ messages in thread
From: Sitsofe Wheeler @ 2008-09-01 15:59 UTC (permalink / raw)
To: linux-mm
Hi,
Is it worth having the anonymous memory option turned on in kconfig when
using the kernel on a machine which has no swap/swapfiles? Does it
improve memory decisions in some secret way (even though there is no
swap available) or would it just be completely redundant?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Anonymous memory on machines without swap
@ 2008-09-02 11:52 Sitsofe Wheeler
0 siblings, 0 replies; 4+ messages in thread
From: Sitsofe Wheeler @ 2008-09-02 11:52 UTC (permalink / raw)
To: Hugh Dickins; +Cc: linux-mm
> On Mon, 1 Sep 2008, Sitsofe Wheeler wrote:
> >
> > Is it worth having the anonymous memory option turned on in kconfig when
> > using the kernel on a machine which has no swap/swapfiles? Does it
> > improve memory decisions in some secret way (even though there is no
> > swap available) or would it just be completely redundant?
>
> Which is the anonymous memory option in kconfig?
>
> There is CONFIG_SWAP, which you might as well turn off if you don't
> intend to use swap/swapfiles. I don't think it makes any difference to
> memory decisions in such a case (they should be based on nr_swap_pages
> being 0), but it would shrink your kernel a little.
It was CONFIG_SWAP that I was thinking of but my misreading of the description was wide of the mark ("Support for paging of anonymous memory (swap)" is not at all the same as disabling anonymous memory...)
(Apologies for the double posting - GMANE seems to be acting up a bit...)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Anonymous memory on machines without swap
2008-09-01 18:11 Sitsofe Wheeler
@ 2008-09-01 19:09 ` Hugh Dickins
0 siblings, 0 replies; 4+ messages in thread
From: Hugh Dickins @ 2008-09-01 19:09 UTC (permalink / raw)
To: Sitsofe Wheeler; +Cc: linux-mm
On Mon, 1 Sep 2008, Sitsofe Wheeler wrote:
>
> Is it worth having the anonymous memory option turned on in kconfig when
> using the kernel on a machine which has no swap/swapfiles? Does it
> improve memory decisions in some secret way (even though there is no
> swap available) or would it just be completely redundant?
Which is the anonymous memory option in kconfig?
There is CONFIG_SWAP, which you might as well turn off if you don't
intend to use swap/swapfiles. I don't think it makes any difference to
memory decisions in such a case (they should be based on nr_swap_pages
being 0), but it would shrink your kernel a little.
Hugh
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Anonymous memory on machines without swap
@ 2008-09-01 18:11 Sitsofe Wheeler
2008-09-01 19:09 ` Hugh Dickins
0 siblings, 1 reply; 4+ messages in thread
From: Sitsofe Wheeler @ 2008-09-01 18:11 UTC (permalink / raw)
To: linux-mm
Hi,
Is it worth having the anonymous memory option turned on in kconfig when
using the kernel on a machine which has no swap/swapfiles? Does it
improve memory decisions in some secret way (even though there is no
swap available) or would it just be completely redundant?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-09-02 11:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-01 15:59 Anonymous memory on machines without swap Sitsofe Wheeler
2008-09-01 18:11 Sitsofe Wheeler
2008-09-01 19:09 ` Hugh Dickins
2008-09-02 11:52 Sitsofe Wheeler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox