[PATCH v3 1/3] virtio_console: Fix locking of vtermno.
Rusty Russell
rusty at rustcorp.com.au
Fri Nov 11 15:27:20 EST 2011
On Tue, 08 Nov 2011 13:44:58 -0800, Miche Baker-Harvey <miche at google.com> wrote:
> Some modifications of vtermno were not done under the spinlock.
>
> Moved assignment from vtermno and increment of vtermno together,
> putting both under the spinlock. Revert vtermno on failure.
>
> Signed-off-by: Miche Baker-Harvey <miche at google.com>
Does it matter? It's normal not to lock in a function called
"init_XXX", since it's not exposed yet.
Or is it?
Thanks,
Rusty.
More information about the Linuxppc-dev
mailing list