Thread (14 messages) 14 messages, 5 authors, 2016-09-22

Re: [PATCH v2 0/2] make POSIX timers optional

flat view

From: Jiri Benc <hidden>
Date: 2016-09-21 10:27:24
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help