[RFC] Shrink sched_clock some more

Kyungmin Park kmpark at infradead.org
Mon Nov 7 19:13:17 EST 2011


On 11/1/11, Marc Zyngier <marc.zyngier at arm.com> wrote:
> On 28/10/11 19:34, Stephen Boyd wrote:
>> On 09/23/11 01:52, Marc Zyngier wrote:
>>> On 22/09/11 16:36, Russell King - ARM Linux wrote:
>>>> ... by getting rid of the fixed-constant optimization, and moving the
>>>> update code into arch/arm/kernel/sched_clock.c.
>>>>
>>>> Platforms now only have to supply a function to read the sched_clock
>>>> register, and some basic information such as the number of significant
>>>> bits and the tick rate.
>>> This looks similar to a patch I posted a while ago:
>>> http://patchwork.ozlabs.org/patch/112318/
>>>
>>>
>>
>> Can we get one of these two patches merged next merge window? I'd like
>> to add sched_clock support to MSM and building on top of this patch is
>> easier than the other way around.
>
> I'm happy either way. The only problem I can see with Russell's patch is
> the lack of support for platforms that do not actually implement a
> sched_clock_read() function.
>
> I've worked around this by having a default jiffy based read function,
> but there is probably other, better solutions.

Hi Marc, Russell,

Maybe this patch is missing at v3.2 merge windows. Russell said it's
maybe queue for his devel tree at prague but maybe doesn't.
Any chance to merge it for v3.2?

Thank you,
Kyungmin Park



More information about the linux-arm-kernel mailing list