lkml.org 
[lkml]   [2009]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/4] Memory controller soft limit patches (v3)
    On Mon, 2 Mar 2009 16:06:02 +0900
    KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
    > Considering above 2, it's not bad to find victim by proper logic
    > from balance_pgdat() by using mem_cgroup_select_victim().
    > like this:
    > ==
    > struct mem_cgroup *select_vicitim_at_soft_limit_via_balance_pgdat(int nid, int zid)
    > {
    > while (?) {
    > vitcim = mem_cgroup_select_victim(init_mem_cgroup); #need some modification.

    Another choice is that when a user set soft-limit via interface, add it to
    our own private list and scan it here. (of course, remove at rmdir.)

    Thanks,
    -Kame



    \
     
     \ /
      Last update: 2009-03-02 08:21    [W:0.023 / U:0.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site