<div dir="ltr"><div><div><div><div>unfortunately these are not the topic to digest in a mail, I recommend you reading UTLK book (<a href="http://shop.oreilly.com/product/9780596005658.do">http://shop.oreilly.com/product/9780596005658.do</a>).<br>
<br></div>Still...<br><br>> will it be maped with vm_area struct ?<br></div>Yes if it is accessed via mmap system call.<br><br>> what is the relation between page-cache and file operation?<br></div>file operations for data access like read/write will look into page-cache first before going to disk.<br>
<br></div>-Rajat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 1:01 PM, horseriver <span dir="ltr"><<a href="mailto:horserivers@gmail.com" target="_blank">horserivers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jan 03, 2013 at 12:48:01PM +0530, Rajat Sharma wrote:<br>
> Never heard of page-cache?<br>
<br>
will it be maped with vm_area struct ?<br>
what is the relation between page-cache and file operation?<br>
<br>
thanks!<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> On Thu, Jan 3, 2013 at 12:29 PM, horseriver <<a href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>> wrote:<br>
><br>
> > hi:<br>
> ><br>
> > when one file is opened , does its data be put into memory ? and all<br>
> > operation on this file<br>
> ><br>
> > will be implemented by operation on its mapping memory area ?<br>
> ><br>
> > thanks!<br>
> ><br>
> > _______________________________________________<br>
> > Kernelnewbies mailing list<br>
> > <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> > <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
> ><br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br></div>