Re: page count for just allocated pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux