Why is clear_user_highpage necessary in do_anonymous_page()?

From: Long Pu
Date: Wed Sep 22 2004 - 19:36:41 EST


I wonder why clear_user_highpage is necessary if we don't concern security.
When we write to a anonymous page the very first time, we don't care
whatever the original contents of that page is. And
clear_user_highpage() takes a lot of cpu time under certain workload
such as compiling kernel.

Is there any reason I don't know to reserve it?
-
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/