issue about virt_to_page(addr) macro

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

 



Hi all,

The virt_to_page(addr) macro gives the page descriptor associated with
the linear address "addr".

Let's assume the initial and final linear address of a certain page are
respectively A and B. If a value x, where A < x < B, is provided as the
argument of virt_to_page() as virt_to_page(x), is the page descriptor
the same as virt_to_page(A)?

In this case, is there diffence in using virt_to_page(x) or
virt_to_page(A)?

BR,

Mauricio Lin.


		
_______________________________________________________ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://mail.yahoo.com.br/

--
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