Re: [PATCH] cls_cgroup: read classid atomically in classifier
From: Andrew Morton
Date: Tue May 26 2009 - 17:04:38 EST
On Tue, 26 May 2009 12:59:11 -0700
Paul Menage <menage@xxxxxxxxxx> wrote:
> Avoid reading the unsynchronized value cs->classid multiple times,
> since it could change concurrently from non-zero to zero; this would
> result in the classifier returning a positive result with a bogus
> (zero) classid.
When this race occurs, what are the user-visible consequences?
People who need to decide to which kernels a patch should be applied
like to know such things.
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/