Re: [PATCH 4/4] Swap migration V3: sys_migrate_pages interface

From: Paul Jackson
Date: Fri Oct 21 2005 - 13:17:31 EST


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@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/