Eric Dumazet <eric.dumazet@xxxxxxxxx> : [...] > If LLTX is used, this means several cpus can execute this code at the > same time. > > You need percpu stats, or use atomic primitives. Would adding percpu stats not be frown upon ? As atomic will defeat the 64 bits stats on 32 bits, I should probably stick to plain bh disabling lock. -- Ueimor -- 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/