internel implemention of file operation
horserivers at gmail.com
Thu Jan 3 05:09:43 EST 2013
On Thu, Jan 03, 2013 at 01:16:06PM +0530, Rajat Sharma wrote:
> > will it be maped with vm_area struct ?
> Yes if it is accessed via mmap system call.
you know that , in the struct vm_area_struct,there is a struct vm_operations_struct * vm_ops;
in this vm_operations_struct , there are open/close functions , are there necessary relations between file
operations and this struct ?
> > 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.
More information about the Kernelnewbies