Re: How to find out which pages were copied-on-write?

From: Lutz Vieweg
Date: Mon Jul 12 2004 - 12:22:13 EST


Michael Clark wrote:
HPAs library LPSM sounds like what you're looking for.

http://freshmeat.net/projects/lpsm/

Or you can do what you want the hard way using mprotect and a SEGV handler.

Certainly a valid idea to consider - doing all those things in userspace... so
thanks for the hint!

But wouldn't that introduce a significant overhead and undermine all of the
nice advantages the kernel might have in scheduling I/O operations?

However, I shall really consider and profile the mprotect/sighandler approach...

Regards,

Lutz Vieweg

PS: I'm using my own allocator already, so using the C-library implementation
wouldn't gain me much...


-
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/