From: Thomas Gleixner Subject: Re: [PATCH] sched_clock: add data pointer argument to read callback Date: Sun, 11 Oct 2015 22:40:53 +0200 (CEST) Message-ID: References: <1444427858-576-1-git-send-email-mans@mansr.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <1444427858-576-1-git-send-email-mans@mansr.com> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Mans Rullgard Cc: Sekhar Nori , Kevin Hilman , Russell King , Hartley Sweeten , Ryan Mallon , Hans Ulli Kroll , Imre Kaloz , Krzysztof Halasa , Eric Miao , Haojian Zhuang , Tony Lindgren , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Mikael Starvik , Jesper Nilsson , Michal Simek , Ralf Baechle C List-Id: linux-omap@vger.kernel.org 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