Skip to contentSkip to conversation

Why is clear_user_highpage necessary in do_anonymous_page()?

DISCUSSION Long Pu 1 participant 1 message Sep 23, 2004 1 message not in the archive

lore
Share & tools
lore

Long Pu

author
#1 lore raw
In reply to a message not in the archive

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?