page->mapping and page->buffers

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

 



Hi,
  when I was reading linux MM, I noticed the concept of page cache, buffer
cache, and swap cache. I am confused about the followings:

  page->mapping points to the inode's address space(i_mapping), or NULL if
it is anonymous page. so is this the concept of page cache? No global page
cache but each inode has a page cache?

 what is the meaning of page->buffers? In page_launder() it was checked to
under different context for different purpose, can someone kindly points
how many cases are there and what they stand for?

 In linux 2.4, document said buffer cache and page cache are unified,
where can I find evident in src code?

Thanks,


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