Re: [PATCH 0/4] make POSIX timers optional with some Kconfig help
From: Josh Triplett
Date: Thu Oct 20 2016 - 14:51:53 EST
On Wed, Oct 19, 2016 at 07:42:49PM -0400, Nicolas Pitre wrote:
> Many embedded systems don't need the full POSIX timer support.
> Configuring them out provides a nice kernel image size reduction.
>
> When POSIX timers are configured out, the PTP clock subsystem should be
> left out as well. However a bunch of ethernet drivers currently *select*
> the later in their Kconfig entries. Therefore some more work was needed
> to break that hard dependency from those drivers without preventing their
> usage altogether.
>
> Therefore this series also includes kconfig changes to implement a new
> keyword to express some reverse dependencies like "select" does, named
> "imply", and still allowing for the target config symbol to be disabled
> if the user or a direct dependency says so.
>
> How to deal with the dependencies across three subsystems for potential
> upstream merging needs to be figured out.
This looks good to me, and I like the new "imply" approach.
I'd still like to see a more general solution for reporting the use of
compiled-out syscalls, but I don't think that needs to block this patch
series.
Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>