Skip to contentSkip to conversation

I-pipe fixes, cleanups, and enhancements

PATCH Applied Jan Kiszka 2 participants 6 messages Apr 26, 2007 – May 2, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

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

#1 lore raw
Quoted 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_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

Merged, thanks.

Signature · 1 line
Philippe.
#2 lore raw
In reply to Jan Kiszka
Quoted 8 lines · Jan Kiszka

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.

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.
author
#3 lore raw
Quoted 10 lines · Philippe Gerum
Quoted 8 lines · Jan Kiszka

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.

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

#4 lore raw
Quoted 16 lines · Jan Kiszka
Quoted 15 lines · Philippe Gerum
Quoted 12 lines · Jan Kiszka

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...

Quoted 7 lines
Quoted 2 lines

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.

I had it too. Fixed.

Quoted 2 lines

Jan

Signature · 1 line
Philippe.
#5 lore raw
In reply to Jan Kiszka
Quoted 8 lines · Jan Kiszka

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.

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.