Re: missing madvise functionality

From: Rik van Riel
Date: Tue Apr 03 2007 - 16:38:53 EST


Jakub Jelinek wrote:

My guess is that all the page zeroing is pretty expensive as well and
takes significant time, but I haven't profiled it.

I'm pretty sure that page freeing, reallocating and zeroing
is more expensive than just letting the page sit there and
only reclaim it lazily when we need the memory.

I'll try to whip up a patch this week.

--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
-
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/