c - What does clear_page_c do? -
during profiling, see of time spent in clear_page_c
, followed memset
. however, not know sure clear_page_c
is.
i assume clear_page_c
sets data in page 0 haven't found documentation. best thing found far, quote this link:
the clear_page_c function more worrying, kernel function related control of memory. web search did not reveal more information.
you can read source find out does, though it's written in assembly, not c. short answer is, yes, fills page zero.
http://code.woboq.org/linux/linux/arch/x86/lib/clear_page_64.s.html
Comments
Post a Comment