[lkml]   [2005]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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 <> 1.925.600.0401
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-10-21 20:19    [W:0.020 / U:61.808 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site