Re: [PATCH v3) posix-timers: make it configurable

From: John Stultz
Date: Thu Sep 15 2016 - 13:48:47 EST


On Wed, Sep 14, 2016 at 8:47 PM, Nicolas Pitre <nicolas.pitre@xxxxxxxxxx> wrote:
> Many embedded systems typically don't need them. This removes about
> 22KB from the kernel binary size on ARM when configured out.
>
> Corresponding syscalls are routed to a stub logging the attempt to
> use those syscalls which should be enough of a clue if they were
> disabled without proper consideration. They are: timer_create,
> timer_gettime: timer_getoverrun, timer_settime, timer_delete,
> clock_adjtime.
>
> The clock_settime, clock_gettime, clock_getres and clock_nanosleep syscalls
> are replaced by simple wrappers compatible with CLOCK_REALTIME,
> CLOCK_MONOTONIC and CLOCK_BOOTTIME only.

Thanks for re-sending. I'm happier that you're keeping some basic
functionality here. No real objections at this point.

I need to apply it for testing and take a closer look, but its on my
to-queue list. However, with an upcoming conference, as being a little
later in the cycle I can't promise it will make it for the 4.9 merge
window. But we'll see.

thanks!
-john