Thread (128 messages) 128 messages, 16 authors, 2006-08-25

Re: [RFC][PATCH 2/9] deadlock prevention core

From: Andrew Morton <hidden>
Date: 2006-08-17 06:04:17
Also in: linux-mm, lkml

On Wed, 16 Aug 2006 20:58:28 -0700
Daniel Phillips [off-list ref] wrote:
Andrew Morton wrote:
quoted
Peter Zijlstra [off-list ref] wrote:
quoted
Testcase:

Mount an NBD device as sole swap device and mmap > physical RAM, then
loop through touching pages only once.
Fix: don't try to swap over the network.  Yes, there may be some scenarios
where people have no local storage, but it's reasonable to expect anyone
who is using Linux as an "enterprise storage platform" to stick a local
disk on the thing for swap.

That leaves MAP_SHARED, but mm-tracking-shared-dirty-pages.patch will fix
that, will it not?
Hi Andrew,

What happened to the case where we just fill memory full of dirty file
pages backed by a remote disk?
Processes which are dirtying those pages throttle at
/proc/sys/vm/dirty_ratio% of memory dirty.  So it is not possible to "fill"
memory with dirty pages.  If the amount of physical memory which is dirty
exceeds 40%: bug.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help