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

From: Paul Jackson
Date: Fri Oct 21 2005 - 12:04:55 EST


Christoph wrote:
> Could the cpuset_mems_allowed(task) function update the mems_allowed if
> needed?

I'm not sure what you're thinking here. Instead of my asking a dozen
stupid questions, I guess I should just ask you to explain what you
have in mind more.

The function call you show above has no 'mask' argument, so I don't
know what you intend to update mems_allowed to. Currently, a task
mems_allowed is only updated in task context, from its cpusets
mems_allowed. The task mems_allowed is updated automatically coming
into the page allocation code, if the tasks mems_generation doesn't
match its cpusets mems_generation.

--
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/