[Linux-cachefs] (no subject)

gaurav gaurav1207 at gmail.com
Wed Jan 17 15:58:08 UTC 2007


ok but as i know that each file have a single inode. So if the duplication
takes place is t or the same inode is hat new inodes are create or
the inode entry is copied to all processes


On 1/17/07, Peter Staubach <staubach at redhat.com> wrote:
>
> gaurav wrote:
> > thats rite but wen all processes have different address spaces so cant
> we
> > say that each process have duplicated copy of same data?
> >
>
> Of course all of the processes have a copy of the same data.  The data
> is copied, from the page cache, into a buffer which is contained in the
> address space of the process.  This buffer is allocated by the process,
> not by the operating system.
>
> The operating system maintains a single copy of the data in its page
> cache, no matter how many processes are accessing the data and if it
> has enough free memory to do so.
>
>       ps
>
> --
> Linux-cachefs mailing list
> Linux-cachefs at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cachefs
>



-- 
Gaurav....



More information about the Linux-cachefs mailing list