[PATCH 2/8] Add container pointer on struct page

2007-06-04 Thread Pavel Emelianov
Each page is supposed to have an owner - the container that touched the page first. The owner stays alive during the page lifetime even if the task that touched the page dies or moves to another container. This ownership is the forerunner for the "fair" page sharing accounting, in which page has a

Re: [PATCH 2/8] Add container pointer on struct page

2007-05-30 Thread Andrew Morton
On Wed, 30 May 2007 19:28:04 +0400 Pavel Emelianov <[EMAIL PROTECTED]> wrote: > +#ifdef CONFIG_RSS_CONTAINER > +#define page_container(page) (page->rss_container) > +#else > +#define page_container(page) (NULL) > +#endif static inline C functions are nicer. - To unsubscribe from this list: send t

[PATCH 2/8] Add container pointer on struct page

2007-05-30 Thread Pavel Emelianov
Each page is supposed to have an owner - the container that touched the page first. The owner stays alive during the page lifetime even if the task that touched the page dies or moves to another container. This ownership is the forerunner for the "fair" page sharing accounting, in which page has a

Re: [PATCH 2/8] Add container pointer on struct page

2007-04-13 Thread Pavel Emelianov
Jean-Pierre Dion wrote: > Hi Pavel, > > I have been implied in the work for the > memory controller of res groups a few months ago. > > I see that you propose to modify the struct > page to point to rss container struct. > This has made some debate because of the struct > page size increase, but

Re: [PATCH 2/8] Add container pointer on struct page

2007-04-13 Thread Jean-Pierre Dion
Hi Pavel, I have been implied in the work for the memory controller of res groups a few months ago. I see that you propose to modify the struct page to point to rss container struct. This has made some debate because of the struct page size increase, but this allows a quicker scan to reclaim pag

[PATCH 2/8] Add container pointer on struct page

2007-04-09 Thread Pavel Emelianov
Each page is supposed to have an owner - the container that touched the page first. The owner stays alive during the page lifetime even if the task that touched the page dies or moves to another container. This ownership is the forerunner for the "fair" page sharing accounting, in which page has a