Page cache and adress_space

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

 



Hi all,

Is it enough to check the mapping field (struct address_space) of struct page to figure out if the page is used as page cache?

Something like:

if (page->mapping) {
...
}

BR,

Mauricio Lin.


Yahoo! Search
Dê uma espiadinha e saiba tudo sobre o Big Brother Brasil.

[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