On 7/28/15 8:29 AM, Daniel Borkmann wrote:
+.BR __sync_fetch_and_add() +can be used on map values in case the map has a value_size of sizeof(long). +This is quite often useful for aggregation and accounting of events.
The above is a bit not clear, since both u32 and u64 can be used as atomic counters. The rest looks great. Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html