lkml.org 
[lkml]   [2010]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromHank Janssen <>
SubjectRE: [PATCH 1/1] hv: Use only one txf buffer per channel and kmalloc on initialize
DateMon, 13 Dec 2010 22:57:10 +0000


-----Original Message-----
>From: Evgeniy Polyakov [mailto:zbr@ioremap.net]
>Sent: Monday, December 13, 2010 2:04 PM
>On Mon, Dec 13, 2010 at 01:14:21PM -0800, Hank Janssen (hjanssen@microsoft.com) 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?

The hv_utils driver services are all single threaded. The other drivers are not, but this one is.

Hank.




\
 
 \ /
  Last update: 2010-12-13 23:59    [from the cache]
©2003-2010