Re: [PATCH 1/4] [RFC] net: Explicitly initialize u64_stats_syncstructures for lockdep

From: Eric Dumazet
Date: Thu Sep 26 2013 - 15:46:22 EST


On Thu, 2013-09-26 at 12:39 -0700, John Stultz wrote:

> > No objection, though I worry that will obscure the lockdep key name,
> > causing all the u64_stat_sync locks to appear the same.
> >
> > I'll give it a quick shot to see if the compiler inlines it well enough
> > to preserve the name.
> Yea, unfortunately this causes the reports to all look like:
>

>
> So I suspect using the macro is the best approach here. Is that ok?

Oh well, right :)


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