Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244219 > unrolled thread

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

Started byThomas Gleixner <tglx@linutronix.de>
First post2015-10-11 22:50 +0200
Last post2015-10-11 22:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] sched_clock: add data pointer argument to read  callback Thomas Gleixner <tglx@linutronix.de> - 2015-10-11 22:50 +0200

#1244219 — Re: [PATCH] sched_clock: add data pointer argument to read callback

FromThomas Gleixner <tglx@linutronix.de>
Date2015-10-11 22:50 +0200
SubjectRe: [PATCH] sched_clock: add data pointer argument to read callback
Message-ID<qivJ8-2Fs-3@gated-at.bofh.it>
Mans,

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?

Thanks,

	tglx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web