lkml.org 
[lkml]   [2008]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][-mm] Add an owner to the mm_struct (v4)
    On Wed, 02 Apr 2008 08:55:34 +0530
    Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

    > >
    > >> + /*
    > >> + * Search through everything else. We should not get
    > >> + * here often
    > >> + */
    > >> + do_each_thread(g, c) {
    > >> + if (c->mm == mm)
    > >> + goto assign_new_owner;
    > >> + } while_each_thread(g, c);
    > >
    > > Doing above in synchronized manner seems too heavy.
    > > When this happen ? or Can this be done in lazy "on-demand" manner ?
    > >
    >
    > Do you mean under task_lock()?
    >
    No, scanning itself.
    How rarely this scan happens under a server which has 10000- threads ?

    Thanks,
    -Kame



    \
     
     \ /
      Last update: 2008-04-02 06:53    [W:0.026 / U:0.388 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site