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

Re: [Linux-cachefs] (no subject)



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 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 redhat com
https://www.redhat.com/mailman/listinfo/linux-cachefs




--
Gaurav....

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