lkml.org 
[lkml]   [2009]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 3/3] memcg documenation soft limit (Yet Another One)
On Fri, 06 Mar 2009 08:47:31 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:
> > + Allowed priority level is 3-0 and 3 is the lowest.
>
> Not very user friendly...
>
Ok, then, 0(lowest) - 8(highest) in the next version.

-Kame

> > + If 0, this cgroup will not be target of softlimit.
> > +
> > + At memory shortage of the system (or local node/zone), softlimit helps
> > + kswapd(), a global memory recalim kernel thread, and inform victim cgroup
>
> reclaim informs
>
> > + to be shrinked to kswapd.
> > +
> > + Victim selection logic:
> > + The kernel searches from the lowest priroty(3) up to the highest(1).
>
> priority 0 ?? (from above)
>
> > + If it find a cgroup witch has memory larger than softlimit, steal memory
>
> finds which
>
> > + from it.
> > + If multiple cgroups are on the same priority, each cgroup wil be a
>
> will
>
> > + victim in turn.
> >
> > 6. Hierarchy support
>
>
> --
> ~Randy
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
>



\
 
 \ /
  Last update: 2009-03-09 00:49    [W:0.990 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site