Re: [PATCH 1/2] net: ethernet: ti: cpts: convert to use kthread_worker

From: Richard Cochran
Date: Sat Jul 22 2017 - 01:29:41 EST


On Fri, Jul 21, 2017 at 06:49:42PM -0500, Grygorii Strashko wrote:
> There could be significant delay in CPTS work schedule under high system
> load and on -RT which could cause CPTS misbehavior due to internal counter
> overflow. Usage of own kthread_worker allows to avoid such kind of issues
> and makes it possible to tune priority of CPTS kthread_worker thread on -RT
> (thread name "cpts").

I have also seen excessive delays in the time stamp work from the
dp83640 under certain loads. Can we please implement this time stamp
kthread_worker in the PHC subsystem? That way, the facility can be
used by other drivers without code duplication.

Thanks,
Richard