All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] y2038:clock_nanosleep for timespec64
@ 2021-04-27  6:40 Song Chen
  2021-06-01  9:38 ` Florian Bezdeka
  0 siblings, 1 reply; 2+ messages in thread
From: Song Chen @ 2021-04-27  6:40 UTC (permalink / raw)
  To: florian.bezdeka, xenomai

This patch serial is aimed to introduce a new syscall clock_nanosleep64
which is specific for 64-bit time_t.

---
v2:
1, introduce a new helper __cobalt_clock_nanosleep64 given the behavior
in compat syscall is identical.
2, REALTIME --> MONOTONIC in testsuite
3, more combinations of parameters in testsuite
4, smokey warning if clock_gettime goes wrong in testsuite
5, remove magic number in testsuite

v3:
1, check lower boundary if nanosleep sleeps long enough

chensong (3):
  y2038: cobalt/posix/clock: Adding clock_nanosleep64
  y2038: lib/cobalt/clock: dispatch clock_nanosleep
  y2038: testsuite/smokey/y2038: testcase for nanosleep64

 include/cobalt/uapi/syscall.h          |  1 +
 kernel/cobalt/posix/clock.c            | 30 ++++++++++++++
 kernel/cobalt/posix/clock.h            |  9 +++++
 kernel/cobalt/posix/syscall32.c        |  9 +++++
 kernel/cobalt/posix/syscall32.h        |  6 +++
 lib/cobalt/clock.c                     |  5 +++
 testsuite/smokey/y2038/syscall-tests.c | 72 ++++++++++++++++++++++++++++++++++
 7 files changed, 132 insertions(+)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v3 0/3] y2038:clock_nanosleep for timespec64
  2021-04-27  6:40 [PATCH v3 0/3] y2038:clock_nanosleep for timespec64 Song Chen
@ 2021-06-01  9:38 ` Florian Bezdeka
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Bezdeka @ 2021-06-01  9:38 UTC (permalink / raw)
  To: Song Chen, xenomai

On 27.04.21 08:40, Song Chen wrote:
> This patch serial is aimed to introduce a new syscall clock_nanosleep64
> which is specific for 64-bit time_t.
> 
> ---
> v2:
> 1, introduce a new helper __cobalt_clock_nanosleep64 given the behavior
> in compat syscall is identical.
> 2, REALTIME --> MONOTONIC in testsuite
> 3, more combinations of parameters in testsuite
> 4, smokey warning if clock_gettime goes wrong in testsuite
> 5, remove magic number in testsuite
> 
> v3:
> 1, check lower boundary if nanosleep sleeps long enough
> 
> chensong (3):
>   y2038: cobalt/posix/clock: Adding clock_nanosleep64
>   y2038: lib/cobalt/clock: dispatch clock_nanosleep
>   y2038: testsuite/smokey/y2038: testcase for nanosleep64
> 
>  include/cobalt/uapi/syscall.h          |  1 +
>  kernel/cobalt/posix/clock.c            | 30 ++++++++++++++
>  kernel/cobalt/posix/clock.h            |  9 +++++
>  kernel/cobalt/posix/syscall32.c        |  9 +++++
>  kernel/cobalt/posix/syscall32.h        |  6 +++
>  lib/cobalt/clock.c                     |  5 +++
>  testsuite/smokey/y2038/syscall-tests.c | 72 ++++++++++++++++++++++++++++++++++
>  7 files changed, 132 insertions(+)
> 

I applied this series with some minor modifications to florian/y2038. I
will send out a series together with the {s,g}ettime64 stuff later today.


-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-01  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27  6:40 [PATCH v3 0/3] y2038:clock_nanosleep for timespec64 Song Chen
2021-06-01  9:38 ` Florian Bezdeka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.