Re: [regression] cpuset,mm: update tasks' mems_allowed in time(58568d2)

From: David Rientjes
Date: Mon Feb 22 2010 - 17:01:13 EST


On Mon, 22 Feb 2010, Nick Piggin wrote:

> If you have a concurrent reader without any synchronisation, then what
> stops it from loading a word of the mask before stores to add the new
> nodes and then loading another word of the mask after the stores to
> remove the old nodes? (which can give an empty mask).
>

Currently nothing, so we'll need a variant for configurations where the
size of nodemask_t is larger than we can atomically store.
--
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/