Re: [PATCH 5/6] net: __this_cpu_inc in route.c

From: Eric Dumazet
Date: Wed Oct 16 2013 - 05:22:56 EST


On Wed, 2013-10-16 at 10:46 +0200, Peter Zijlstra wrote:

> Are we sure all !x86 implementations will DTRT in that it will increment
> some CPU and not get horribly confused? I suppose it would; but is
> that a guarantee given someplace?

I think we should be fine, these are only stats exposed
on /proc/net/stat/rt_cache

Those 32bit counters were useful when we still had IP route cache.

Most of the fields are no longer incremented.

We eventually could remove them.


--
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/