Re: [rfc] forked kernel task and mm structures imbalanced on NUMA

From: Andi Kleen
Date: Tue Jun 01 2010 - 11:48:21 EST


Nick Piggin <npiggin@xxxxxxx> writes:

> This isn't really a new problem, and I don't know how important it is,
> but I recently came across it again when doing some aim7 testing with
> huge numbers of tasks.

Seems reasonable. Of course you need to at least
save/restore the old CPU policy, and use a subset of it.

Another approach would be to migrate this on touch, but that is probably
slightly more difficult. The advantage would be that on multiple
migrations it would follow. And it would be a bit slower for
the initial case.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/