Re: internel implemention of file operation

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

 



unfortunately these are not the topic to digest in a mail, I recommend you reading UTLK book (http://shop.oreilly.com/product/9780596005658.do).

Still...

> will it be maped with vm_area struct ?
Yes if it is accessed via mmap system call.

> what is the relation between page-cache and file operation?
file operations for data access like read/write will look into page-cache first before going to disk.

-Rajat


On Thu, Jan 3, 2013 at 1:01 PM, horseriver <horserivers@xxxxxxxxx> wrote:
On Thu, Jan 03, 2013 at 12:48:01PM +0530, Rajat Sharma wrote:
> Never heard of page-cache?

will it be maped with vm_area struct ?
what is the relation between page-cache and file operation?

thanks!

>
>
> On Thu, Jan 3, 2013 at 12:29 PM, horseriver <horserivers@xxxxxxxxx> wrote:
>
> > hi:
> >
> >   when one file is opened , does its  data be put into memory ? and all
> > operation on this file
> >
> >   will be implemented by operation on its mapping memory area ?
> >
> > thanks!
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies@xxxxxxxxxxxxxxxxx
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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