Re: buffer and page retrievel

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

 



Thanks for the clarification.

If the buffer and page cache are unified, what is lru ?.  Is it part of the cpu cache, or part of the buffer ?.

Shameem



----- Original Message ----
> From: Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>
> To: Shameem Ahamed <shameem.ahamed@xxxxxxxxx>
> Cc: kernelnewbies@xxxxxxxxxxxx
> Sent: Monday, September 28, 2009 9:00:28 PM
> Subject: Re: buffer and page retrievel
> 
> Hi...
> 
> this is also an area that confused me from long time ago, but
> hopefully now I got better. Here's my wording (let's assume all page
> mentioned here are file backed ones):
> 
> if page fault happens, page cache will be checked to determined which
> page hold the corresponding disk block. If one is found, this page
> will be mapped into the related faulting process' VMA
> 
> otherwise, if the data is not found in page cache, disk read will be
> engaged. Most likely it will be done in async style. Once it is loaded
> into page cache, this page will also be mapped into faulting process'
> VMA.
> 
> Notice that I use the term "page cache" here, since in 2.6 buffer and
> page cache are unified and called as page cache.
> 
> 
> -- 
> regards,
> 
> Mulyadi Santosa
> Freelance Linux trainer
> blog: the-hydra.blogspot.com



      

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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