I-pipe fixes, cleanups, and enhancements
cover I-pipe fixes, cleanups, and enhancements
Hi,
before ipipe-git gets busy again with work on 2.6.21, I'd like to flush my patch queue. Here is an overview:
1. Build fix for the tracer over x86_64
2. Fix for Linux IRQ state during x86_64 boot
3. [JANITOR] Fix whitespace damages in the tracer
4. [JANITOR] Minor cleanups in ipipe/core.c
5. Extract minimal, dependency-free linux/ipipe_base.h from main ipipe.h
6. Optimise __ipipe_stall_root, __ipipe_test_root, and __ipipe_test_and_stall_root for execution on UP (only i386 and x86_64 so far). This should improve Linux performance over I-pipe, at least it did with the original version I posted last year.
7. Detect illicit cross-domain calls down the pipeline. Together with the included Linux instrumentation, this can help to diagnose broken RT code in the kernel, namely in drivers and skins. Might be of some interest for RTDM hackers as recent user postings demonstrated...
All patches are against 2.6.20 (i386-1.7-03 / x86_64-1.0.06) and were (as usual) quickly tested with Xenomai trunk on qemu boxes.
[Note that just this initial mail is CC'ed to xenomai-core, check adeos-main for the actually patches.]
Jan
Philippe Gerum
AppliedQuoted 5 lines · Jan Kiszka
Hi,
before ipipe-git gets busy again with work on 2.6.21, I'd like to flush my patch queue. Here is an overview:
Quoted 7 lines
1. Build fix for the tracer over
x86_642. Fix for Linux IRQ state during
x86_64boot3. [JANITOR] Fix whitespace damages in the tracer
4. [JANITOR] Minor cleanups in
ipipe/core.c
Merged, thanks.
Signature · 1 line
Philippe.
Philippe Gerum
AppliedQuoted 8 lines · Jan Kiszka
5. Extract minimal, dependency-free
linux/ipipe_base.hfrom mainipipe.h6. Optimise
__ipipe_stall_root,__ipipe_test_root, and__ipipe_test_and_stall_rootfor execution on UP (only i386 andx86_64so far). This should improve Linux performance over I-pipe, at least it did with the original version I posted last year.
Quoted 4 lines
7. Detect illicit cross-domain calls down the pipeline. Together with the included Linux instrumentation, this can help to diagnose broken RT code in the kernel, namely in drivers and skins. Might be of some interest for RTDM hackers as recent user postings demonstrated...
Merged, thanks.
Signature · 1 line
Philippe.
Quoted 10 lines · Philippe Gerum
Quoted 8 lines · Jan Kiszka
5. Extract minimal, dependency-free
linux/ipipe_base.hfrom mainipipe.h6. Optimise
__ipipe_stall_root,__ipipe_test_root, and__ipipe_test_and_stall_rootfor execution on UP (only i386 andx86_64so far). This should improve Linux performance over I-pipe, at least it did with the original version I posted last year.
Quoted 7 lines
Quoted 4 lines
7. Detect illicit cross-domain calls down the pipeline. Together with the included Linux instrumentation, this can help to diagnose broken RT code in the kernel, namely in drivers and skins. Might be of some interest for RTDM hackers as recent user postings demonstrated...
Merged, thanks.
That reminds me: please add #include <linux/bitops.h> to ipipe_base.h for patch #6 (because of all the bit fiddling) - I had a compile error with a different .config yesterday.
Jan
Quoted 16 lines · Jan Kiszka
Quoted 15 lines · Philippe Gerum
Quoted 12 lines · Jan Kiszka
5. Extract minimal, dependency-free
linux/ipipe_base.hfrom mainipipe.h6. Optimise
__ipipe_stall_root,__ipipe_test_root, and__ipipe_test_and_stall_rootfor execution on UP (only i386 andx86_64so far). This should improve Linux performance over I-pipe, at least it did with the original version I posted last year.7. Detect illicit cross-domain calls down the pipeline. Together with the included Linux instrumentation, this can help to diagnose broken RT code in the kernel, namely in drivers and skins. Might be of some interest for RTDM hackers as recent user postings demonstrated...
Quoted 7 lines
Quoted 2 lines
Merged, thanks.
That reminds me: please add #include <
linux/bitops.h> toipipe_base.hfor patch #6 (because of all the bit fiddling) - I had a compile error with a different .config yesterday.
I had it too. Fixed.
Quoted 2 lines
Jan
Signature · 1 line
Philippe.
Philippe Gerum
AppliedQuoted 8 lines · Jan Kiszka
5. Extract minimal, dependency-free
linux/ipipe_base.hfrom mainipipe.h6. Optimise
__ipipe_stall_root,__ipipe_test_root, and__ipipe_test_and_stall_rootfor execution on UP (only i386 andx86_64so far). This should improve Linux performance over I-pipe, at least it did with the original version I posted last year.
Quoted 4 lines
7. Detect illicit cross-domain calls down the pipeline. Together with the included Linux instrumentation, this can help to diagnose broken RT code in the kernel, namely in drivers and skins. Might be of some interest for RTDM hackers as recent user postings demonstrated...
Merged, thanks.
Signature · 4 lines
Philippe. -- Philippe.