Thread (4 messages) flat view 4 messages, 3 authors, 2001-08-10

Re: Swapping for diskless nodes

From: Eric W. Biederman <hidden>
Date: 2001-08-10 08:19:00
Also in: lkml

Rik van Riel [off-list ref] writes:
On 9 Aug 2001, Eric W. Biederman wrote:
quoted
I don't know about that.  We already can swap over just about
everything because we can swap over the loopback device.
Last I looked the loopback device could deadlock your
system without you needing to swap over it ;)
It wouldn't suprise me.  But the fact remains that in 2.4 we allow it.
And if we allw it there is little excuse for doing it wrong.

Actually except for network cases it looks easier to prevent deadlocks
on the swapping path than with the loop back devices.  We can call
aops->prepare_write_out when we place the page in the swap cache
to make certain we aren't over a hole in a file, and there is room in the
filesystem to store the data.

Eric
--
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help