Re: [RFC] invalidate_mmap_range() misses remap_file_pages()-affectedtargets

From: Rik van Riel
Date: Sun Oct 12 2003 - 15:29:21 EST


On Sun, 12 Oct 2003, William Lee Irwin III wrote:

> invalidate_mmap_range(), and hence vmtruncate(), can miss its targets
> due to remap_file_pages()

Please don't. Remap_file_pages() not 100% working the way
a normal mmap() works should be a case of "doctor, it hurts".

Making the VM more complex just to support the (allegedly
low overhead) hack of remap_file_pages() doesn't seem like
a worthwhile tradeoff to me.

In fact, I wouldn't mind if remap_file_pages() was simplified ;)

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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