Re: [PATCH] vdso.7: __kernel_clock_gettime *_COARSE clock support in PPC64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Santosh,

On 12/23/2017 04:13 AM, Santosh Sivaraj wrote:
> * Michael Kerrisk (man-pages) <mtk.manpages@xxxxxxxxx> wrote (on 2017-12-22 10:36:53 +0100):
> 
> Hi Michael,
> 
>> Hi Santosh
>>
>> On 12/22/2017 01:26 AM, Santosh Sivaraj wrote:
>>> *_COARSE clocks are now supported in the __kernel_clock_gettime interface in
>>> PPC64. No longer falls back to the real system call.
>>
>> Can you tell me the kernel version where this change was 
>> made? It would be useful to include that in the text, I think.
>> In fact, if you knew the kernel commit that made the change,
>> that would also be of interest.
> 
> The commit is currently in the PPC next tree. It should go to the mainline in
> the 3.16 merge timeframe.

Ahhh -- that info would have saved me quite some time hunting through source
code in order to try to verify the statements in the patch!

So, would you be able to remind me about this when (if) the patch actually 
goes into 3.16?

Thanks,

Michael


> git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
> 
> The commit ID in next tree is: 5c929885f1bb4b77f85b1769c49405a0e0f154a1
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=5c929885f1bb4b77f85b1769c49405a0e0f154a1
> 
> If needed I can mention the commit once its merged into the mainline and
> resend the patch.
> 
>>
>> Also, your patch changes just the entry for ppc/64. Does
>> the same statement hold true for ppc/32?
> 
> No, changes are made only for vdso64.
> 
> Thanks,
> Santosh
>>
>> Thanks,
>>
>> Michael
>>
>>
>>> CC: Michael Kerrisk <mtk.manpages@xxxxxxxxx>
>>> CC: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
>>> Signed-off-by: Santosh Sivaraj <santosh@xxxxxxxxxx>
>>> ---
>>>  man7/vdso.7 | 4 +---
>>>  1 file changed, 1 insertion(+), 3 deletions(-)
>>>
>>> diff --git a/man7/vdso.7 b/man7/vdso.7
>>> index 9af02a8aa..c7399939c 100644
>>> --- a/man7/vdso.7
>>> +++ b/man7/vdso.7
>>> @@ -438,9 +438,7 @@ clocks are
>>>  .I not
>>>  supported by the
>>>  .I __kernel_clock_getres
>>> -and
>>> -.I __kernel_clock_gettime
>>> -interfaces;
>>> +interface;
>>>  the kernel falls back to the real system call.
>>>  .SS s390 functions
>>>  .\" See linux/arch/s390/kernel/vdso32/vdso32.lds.S
>>>
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux