Re: PREEMPT_RT causes scheduling errors with f_rndis USB gadget
From: Greg KH
Date: Sun Mar 06 2022 - 07:12:09 EST
On Sun, Mar 06, 2022 at 06:57:08PM +0800, Yunhao Tian wrote:
> Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 于2022年3月6日周日 18:36写道:
> >
> > On Sun, Mar 06, 2022 at 06:17:54PM +0800, Yunhao Tian wrote:
> > > Hi everyone,
> > >
> > > I'm using Linux 5.15.24-rt31 kernel with PREEMPT_RT enabled, on my
> > > RK3308 board. I set up f_rndis gadget with the following script, and
> > > plugged my board to a x86 Linux computer running 5.15.25 kernel:
> >
> > Does the same thing happen with the non-rt kernel?
> >
> > thanks,
> >
> > greg k-h
>
> Hi Greg,
>
> Thanks for your reply!
>
> This doesn't happen to non-rt kernel. It will only happen when
> PREEMPT_RT is turned on, with rt kernel.
Great, thanks for letting us know. I'll let you work this out with the
-rt developers :)