On 02/05/2013 01:56 AM, Johannes Berg wrote:
From: Johannes Berg <johannes.berg@xxxxxxxxx> "unsigned long" is already 64-bit on (most?) 64-bit machines, use u64 and tell cfg80211 that we provide 64-bit counters now.
From what I can tell, these counters are modified using += operators. From what I recall, this is non-atomic on 32-bit systems when the variable is u64. Is there any other locking that keeps this from blowing up? Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html