Re: [PATCH 1/1] hv: Use only one txf buffer per channel andkmalloc on initialize

From: Evgeniy Polyakov
Date: Mon Dec 13 2010 - 17:12:26 EST


On Mon, Dec 13, 2010 at 01:14:21PM -0800, Hank Janssen (hjanssen@xxxxxxxxxxxxx) wrote:
> +static u8 *shut_txf_buf;
> +static u8 *time_txf_buf;
> +static u8 *hbeat_txf_buf;

Those are accessed without any kind of synchronization. I do not know
exact context, but are you sure it is single-threaded?

--
Evgeniy Polyakov
--
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/