On Tue, Mar 13, 2007 at 03:48:34AM -0800, Andrew Morton wrote:
sounds good to me, just not sure it provides what we
need, but I'm sure I'll figure that with your help ...
okay, let me ask a few naive questions about this scheme:
how does this work for a _file_ which is shared between
two guests (e.g. an executable like bash, hardlinked
between guests) when both guests are in a different
zone-based container?
+ assumed that the file is read in the first time,
will it be accounted to the first guest doing so?
+ assumed it is accessed in the second guest, will
it cause any additional cache/mapping besides the
dentry stuff?
+ will container A be able to 'toss out' pages
'shared' with container B (assumed sharing is
possible :)
+ when the container A tosses out the pages for this
executable, will guest B still be able to use them?
+ when the pages are tossed out, will they require
the system to read them in again, or will they
stay available ala swap cache?
I'm fine with that ...
here the question is, can a guest have several of
those 'virtual zones' assigned, so that there is a
container specific and a shared zone for example?
sounds good!
will do so once I have a better understanding how this
approach will work ...
TIA,
Herbert
-