Thread (85 messages) flat view 85 messages, 22 authors, 2005-03-01

Re: No swap can be dangerous (was Re: swap on RAID (was Re: swp - Re: ext3 journal on software raid))

From: Andrew Walrond <hidden>
Date: 2005-01-07 09:28:38
Also in: lkml

On Thursday 06 January 2005 23:15, Guy wrote:
If I MUST/SHOULD have swap space....
Maybe I will create a RAM disk and use it for swap!  :)  :)  :)
Well, indeed, I had the same thought. As long as you could guarantee that the 
ram was of the highmem/non-dmaable type...

But we're getting ahead of ourselves. I think we need an authoritive answer to 
the original premise. Perhaps Alan (cc-ed) might spare us a moment?

Did I dream this up, or is it correct?

"I think the gist was this: the kernel can sometimes needs to move bits of 
memory in order to free up dma-able ram, or lowmem. If I recall correctly, 
the kernel can only do this move via swap, even if there is stacks of free 
(non-dmaable or highmem) memory."

Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help