Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Date: Tue, 24 Mar 2020 17:05:33 +0100 Subject: Slow path detected in RTCAP Message-ID: <7230-5e7a3000-1f-4d48c480@89258041> From: =?utf-8?q?Fran=C3=A7ois_Legal?= Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hello, I'm trying to port an old application that used to be running on DSPBIO= S to Xenomai, using RTNET for the network part. I'm getting some weird results with semaphores, but before that I got t= hat debug dump : [ 49.201310] WARNING: CPU: 0 PID: 958 at /home/dev/UCC/linux-4.4.189/= kernel/ipipe/core.c:1912 =5F=5Fipipe=5Fpost=5Fwork=5Froot+0xe8/0xfc() [ 49.214809] CPU: 0 PID: 958 Comm: Ma=C3=AEtre de R=C3=A9s Not tainte= d 4.4.189 #47 [ 49.222636] Hardware name: Xilinx Zynq Platform [ 49.227791] I-pipe domain: Xenomai [ 49.231705] [] (unwind=5Fbacktrace) from [] (sho= w=5Fstack+0x10/0x14) [ 49.240511] [] (show=5Fstack) from [] (dump=5Fst= ack+0x104/0x120) [ 49.248887] [] (dump=5Fstack) from [] (warn=5Fsl= owpath=5Fcommon+0x80/0xb0) [ 49.258162] [] (warn=5Fslowpath=5Fcommon) from [= ] (warn=5Fslowpath=5Fnull+0x1c/0x24) [ 49.268172] [] (warn=5Fslowpath=5Fnull) from [] = (=5F=5Fipipe=5Fpost=5Fwork=5Froot+0xe8/0xfc) [ 49.278344] [] (=5F=5Fipipe=5Fpost=5Fwork=5Froot) from [] (rtdm=5Fnrtsig=5Fpend+0x24/0x2c) [ 49.288219] [] (rtdm=5Fnrtsig=5Fpend) from [] (r= tcap=5Fxmit=5Fhook+0x150/0x1bc) [ 49.297550] [] (rtcap=5Fxmit=5Fhook) from [] (rt= dev=5Flocked=5Fxmit+0x28/0x3c) [ 49.307010] [] (rtdev=5Flocked=5Fxmit) from [] (= rtdev=5Fxmit+0x38/0x84) [ 49.315871] [] (rtdev=5Fxmit) from [] (rt=5Fpack= et=5Fsendmsg+0x2d4/0x304) [ 49.324865] [] (rt=5Fpacket=5Fsendmsg) from [] (= rtdm=5Ffd=5Fsendmsg+0x80/0x98) [ 49.334205] [] (rtdm=5Ffd=5Fsendmsg) from [] (Co= BaLt=5Fsendmsg+0x78/0xa4) [ 49.343275] [] (CoBaLt=5Fsendmsg) from [] (handl= e=5Fhead=5Fsyscall+0x168/0x320) [ 49.352953] [] (handle=5Fhead=5Fsyscall) from []= (local=5Frestart+0x20/0x44) [ The indicated thread "Ma=C3=AEtre de R=C3=A9s" is a xenomai posix threa= d. I see that the call stack includes RTCAP code, and I checked that this = does not happen when RTCAP is disabled in kernel build. Anyway, Is this= slow path to be expected in RTCAP ? Thanks Fran=C3=A7ois