Page count is initialized to 1 in set_page_refs. It means that I don't need to do a get_page in the function where I alloc it. Am I correct?
Luciano
Luciano A. Stertz wrote:
I'm trying to understand page's usage counter. A just allocated page shouldn't have its page count zeroed?
-- Luciano A. Stertz luciano@xxxxxxxxxxxx T&T Engenheiros Associados Ltda http://www.tteng.com.br Fone/Fax (51) 3224 8425
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/