lkml.org 
[lkml]   [2005]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/4] Swap migration V3: sys_migrate_pages interface
    Christoph wrote:
    > Therefore if mems_allowed is accessed from outside of the
    > task then it may not be up to date, right?

    Yup - exactly.

    The up to date allowed memory container for a task is in its cpuset,
    which does have the locking mechanisms needed for safe access from
    other tasks.

    The task mems_allowed is just a private cache of the mems_allowed of
    its cpuset, used for quick access from within the task context by the
    page allocation code.

    --
    I won't rest till it's the best ...
    Programmer, Linux Scalability
    Paul Jackson <pj@sgi.com> 1.925.600.0401
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-10-21 20:19    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site