Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters

Rohit Seth
2006-08-24T01:33:49Z

On Tue, 2006-08-22 at 11:02 +0100, Alan Cox wrote:
> Ar Llu, 2006-08-21 am 18:45 -0700, ysgrifennodd Rohit Seth:
> > I think as the tasks move around, it becomes very heavy to move all the
> > pages belonging to previous container to a new container.
>
> Its not a meaningful thing to do. Remember an object may be passed
> around or shared. The simple "creator pays" model avoids all the heavy
> overheads while maintaining the constraints.
>

I agree, creator pays model will be good for anonymous pages. (And this
is where page based container will help).

> Its only user space pages that some of this (AS and RSS) become
> interesting as "movable" objects
>

I think something like for AS, yes. But for anonymous pages, might want
to leave them back.

-rohit