Re: How to identify cow (copy-on-write) pages during kernel execution?

From: Carsten Otte
Date: Mon Jun 20 2005 - 06:38:56 EST


On 6/20/05, Mauricio Lin <mauriciolin@xxxxxxxxx> wrote:
> So the only way to identify copy-on-write pages is when page fault
> related to copy-on-write happens, right? I mean in the
> handle_pte_fault() that calls do_wp_page().
That shows you at the time of copy, and at a given time later you can
also walk the mm and look that the pte's to see if they are writable.
-
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/