lkml.org 
[lkml]   [2006]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
From
Date
    Bryan> Yep, this is a real race, albeit incredibly unlikely.  I
Bryan> just turned ipath_sma_alive into an atomic_t, and wrapped
Bryan> the open/close code in spinlocks.

How does making it an atomic_t help? I think you're only going to be
using atomic_set() and atomic_read(), and atomic_t doesn't provide
anything in that case.

- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-10 00:54    [W:0.275 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site