Re: Deterministic behavior for TTY serial
From: Ivo Sieben <hidden>
Date: 2012-05-03 15:28:47
Also in:
linux-serial
From: Ivo Sieben <hidden>
Date: 2012-05-03 15:28:47
Also in:
linux-serial
Hi,
The PREEMPT_RT uses mutexes for "normal" spin locks that do not disable interrupts... I'll try to use raw spinlocks in this code section and for the tty flip buffer See if that can solve my problem. If you have other ideas... let me know! Regards, Ivo
I've changed some small things to the tty layer (see my other 3 RFC patches I've send). Performance increased with my loopback stress test: - Old situation: average read call last for 50us, with peaks up to 230 us - New situation: average read call still 50us, peak up to 60 us - Write was stable in both situations: average of 90 us, peak up to 100 us Only the very first read & write took extra time (128 us for read, 143 for write) I'm still investigating that... Feedback is very appreciated. Regards, Ivo Sieben