[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160921122716.0f609423@griffin>
Date: Wed, 21 Sep 2016 12:27:16 +0200
From: Jiri Benc <jbenc@...hat.com>
To: Richard Cochran <richardcochran@...il.com>
Cc: Nicolas Pitre <nicolas.pitre@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
John Stultz <john.stultz@...aro.org>,
Josh Triplett <josh@...htriplett.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] make POSIX timers optional
On Wed, 21 Sep 2016 10:38:52 +0200, Richard Cochran wrote:
> Embedded people like to optimize their systems. One pattern I have
> more than once is that a multihomed design designates a special PTP
> interface, often with a different HW than the other ports. PTP
> support adds extra code into the hot path, and for that reason people
> want to turn it off on interfaces that don't need it.
We really need to find some middle way. It's impossible to support
every little corner case. As is not reasonable to have a single
configuration only kernel.
I think this scenario falls into the little corner case. If you need
PTP, you just enable it. The PTP core will be much larger than the
added code in the individual drivers anyway.
And if there's run time impact on the fast path with time stamping
switched off on an interface, it's a bug that has to be fixed.
Jiri
Powered by blists - more mailing lists