Re: [cip-dev] BUG: using smp_processor_id() in preemptible [00000000] code: TCPTSK/1809

Pavel Machek
2021-06-06T19:14:41Z

[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]

Hi!

>

Please avoid html on mailing lists.

> I&#39;m useing the kernel&nbsp;4.19.165-cip41-rt18 on the Altera
> SOCkit and I encountered an problem with high TCP traffic.

I notice you are using -rt kernel. Do you actually need realtime
features?

Can you try to reproduce the problem on 4.19.193?

> Can anybody tell me what problem this message triggers?
>
> The check_preemption_disabled function is called when
> smp_processor_id() is used. This function should be called with
> preemtion disabled, but I think migrate_enable will allways enable
> preemption ...

I believe you got your analysis mostly right, I'd have to study the
code some more to see what is going on.

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 428 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6494): https://lists.cip-project.org/g/cip-dev/message/6494