Re: [PATCH] clocksource: Store reg field within struct clocksource

From: Thomas Gleixner
Date: Thu Nov 19 2015 - 08:58:56 EST


On Thu, 19 Nov 2015, Marc Gonzalez wrote:
> On 19/11/2015 12:14, Thomas Gleixner wrote:
>
> > So yes, the alignment of the clocksource struct is not longer
> > relevant. The case where we access clocksource->max_cycles is when
> > CONFIG_DEBUG_TIMEKEEPING is enabled, which imposes worse performance
> > problems to timekeeping than the extra cacheline.
> >
> > So the simple solution for this issue is indeed the one liner below.
>
> It would make sense to also remove the comment emphasizing the
> alignment requirement.

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