Skip to contentSkip to conversation

vdso.7: __kernel_clock_gettime *_COARSE clock support in PPC64

PATCH In review Santosh Sivaraj 2 participants 5 messages Dec 22, 2017 – Feb 5, 2018 4 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vdso.7: __kernel_clock_gettime *_COARSE clock support in PPC64

*_COARSE clocks are now supported in the __kernel_clock_gettime interface in PPC64. No longer falls back to the real system call.

CC Michael Kerrisk <[email protected]>
CC Michael Ellerman <mpe-Gsx/[email protected]>
---
 man7/vdso.7 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
man7/vdso.7 +1 -3
index 9af02a8aa..c7399939c 100644
@@ -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
Signature · 6 lines
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171222002659.1930-1-santosh-b8Fn+pY0OfAdnm+yROfE0A@public.gmane.org

#2 lore raw

Hi Santosh

Quoted 2 lines · Santosh Sivaraj

*_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.

Also, your patch changes just the entry for ppc/64. Does the same statement hold true for ppc/32?

Thanks,

Michael

Quoted 23 lines
CC Michael Kerrisk <[email protected]>
CC Michael Ellerman <mpe-Gsx/[email protected]>
---
 man7/vdso.7 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
man7/vdso.7 +1 -3
index 9af02a8aa..c7399939c 100644
@@ -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
Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 31d5abc7-d314-d4da-175f-b402e14678f0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#4 lore raw

* Michael Kerrisk (man-pages) <[email protected]> wrote (on 2017-12-22 10:36:53 +0100):

Hi Michael,

Quoted 10 lines

Hi Santosh

Quoted 2 lines · Santosh Sivaraj

*_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.

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.

Quoted 3 lines

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

Quoted 29 lines

Thanks,

Michael

Quoted 23 lines
CC Michael Kerrisk <[email protected]>
CC Michael Ellerman <mpe-Gsx/[email protected]>
---
 man7/vdso.7 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
man7/vdso.7 +1 -3
index 9af02a8aa..c7399939c 100644
@@ -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
Signature · 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171223031312.k5x4hbytlm7wwfzn-lCJRWkM8CScA+286u2LMdEEOCMrvLtNR@public.gmane.org

#6 lore raw

Hello Santosh,

Quoted 10 lines · Santosh Sivaraj

* Michael Kerrisk (man-pages) <[email protected]> wrote (on 2017-12-22 10:36:53 +0100):

Hi Michael,

Quoted 6 lines

Hi Santosh

Quoted 2 lines · Santosh Sivaraj

*_COARSE clocks are now supported in the __kernel_clock_gettime interface in PPC64. No longer falls back to the real system call.

Quoted 7 lines
Quoted 4 lines

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

Quoted 47 lines

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.

Quoted 3 lines

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

Quoted 29 lines

Thanks,

Michael

Quoted 23 lines
CC Michael Kerrisk <[email protected]>
CC Michael Ellerman <mpe-Gsx/[email protected]>
---
 man7/vdso.7 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
man7/vdso.7 +1 -3
index 9af02a8aa..c7399939c 100644
@@ -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
Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): afd1b494-57f2-8e83-a0e5-f8b1a304f9c0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#8 lore raw

* Michael Kerrisk (man-pages) <[email protected]> wrote (on 2017-12-30 09:47:16 +0100):

Quoted 18 lines

Hello Santosh,

Quoted 15 lines · Santosh Sivaraj

* Michael Kerrisk (man-pages) <[email protected]> wrote (on 2017-12-22 10:36:53 +0100):

Hi Michael,

Quoted 10 lines

Hi Santosh

Quoted 2 lines · Santosh Sivaraj

*_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.

Quoted 9 lines
Quoted 2 lines

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?

Hi Michael,

The vdso COARSE clock patch is currently merged in the mainline. The commit is 5c929885f1bb4b77f85b1769c49405a0e0f154a1. You want me to include the commit in the patch too?

Thanks,
Santosh

Quoted 52 lines

Thanks,

Michael

Quoted 47 lines

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.

Quoted 3 lines

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

Quoted 29 lines

Thanks,

Michael

Quoted 23 lines
CC Michael Kerrisk <[email protected]>
CC Michael Ellerman <mpe-Gsx/[email protected]>
---
 man7/vdso.7 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
man7/vdso.7 +1 -3
index 9af02a8aa..c7399939c 100644
@@ -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