<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>&gt; will it be maped with vm_area struct ?<br></div>Yes if it is accessed via mmap system call.<br><br>&gt; 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">&lt;<a href="mailto:horserivers@gmail.com" target="_blank">horserivers@gmail.com</a>&gt;</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>
&gt; 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>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 3, 2013 at 12:29 PM, horseriver &lt;<a href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; hi:<br>
&gt; &gt;<br>
&gt; &gt;   when one file is opened , does its  data be put into memory ? and all<br>
&gt; &gt; operation on this file<br>
&gt; &gt;<br>
&gt; &gt;   will be implemented by operation on its mapping memory area ?<br>
&gt; &gt;<br>
&gt; &gt; thanks!<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Kernelnewbies mailing list<br>
&gt; &gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; &gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt; &gt;<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>