Re: [PATCH] mm: tracking dirty pages -v6

From: Nate Diller
Date: Thu Jun 08 2006 - 16:09:30 EST


On 6/8/06, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

People expressed the need to track dirty pages in shared mappings.

Linus outlined the general idea of doing that through making clean
writable pages write-protected and taking the write fault.

This patch does exactly that, it makes pages in a shared writable
mapping write-protected. On write-fault the pages are marked dirty and
made writable. When the pages get synced with their backing store, the
write-protection is re-instated.

Does this mean that processes dirtying pages via mmap are now subject
to write throttling? That could dramatically change the performance
for tasks with a working set larger than 10% of memory.

NATE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/