Re: spin_lock after get_cpu_var()

From: Johannes Weiner
Date: Sun Mar 16 2008 - 06:14:47 EST


Hi Peter,

"Peter Teoh" <htmldeveloper@xxxxxxxxx> writes:

> I find it quite puzzling (no where else in kernel source is this
> found) that you would want to apply spin_lock() after get_cpu_var().
> The fddef is already percpu, so there is no need to lock it, right?
>
> I submitted this patch before, but got no response, just trying my
> luck this time :-).

http://lkml.org/lkml/2008/3/14/208

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