[PATCH] sched_clock: add data pointer argument to read callback

Thomas Gleixner tglx at linutronix.de
Sun Oct 11 13:40:53 PDT 2015


On Fri, 9 Oct 2015, Mans Rullgard wrote:

> This passes a data pointer specified in the sched_clock_register()
> call to the read callback allowing simpler implementations thereof.
> In this patch, existing uses of this interface are simply updated
> with a null pointer.

I can't see any simplifaction of any driver. This is called in hot
pathes and that extra unused argument just adds register pressure for
no value.

What are you actually trying to solve?



More information about the linux-rpi-kernel mailing list