Skip to contentSkip to conversation

update email addr

PATCH In review Jim Cromie 3 participants 5 messages Aug 11, 2006 – Aug 13, 2006

lore
Share & tools
lore

Jim Cromie

author
#0 lore raw

PATCH 1/1 update email addr

im trying to inline this patch,
pls let me know if its still ws fouled
(in thunderbird, cp from svn diff |less, preformat b4 paste)

CREDITS (working copy) renamed from CREDITS (revision 1412) +0 -0
Index: CREDITS
===================================================================
@@ -43,7 +43,7 @@

D: the map.

N: Jim Cromie
-E: [email protected]
+E: [email protected]
D: Comprehensive statistics collection for the testsuite.
D: Validation test script. Various script fixes and sanitization.

(END)

#1 lore raw
Quoted 17 lines · Jim Cromie

im trying to inline this patch,
pls let me know if its still ws fouled
(in thunderbird, cp from svn diff |less, preformat b4 paste)

Index: CREDITS
===================================================================

CREDITS (working copy) renamed from CREDITS (revision 1412) +0 -0
@@ -43,7 +43,7 @@

D: the map.

N: Jim Cromie

CREDITS (working copy) renamed from CREDITS (revision 1412) +1 -1
-E: [email protected]
+E: [email protected]
Quoted 2 lines

D: Comprehensive statistics collection for the testsuite.
D: Validation test script. Various script fixes and sanitization.

Obviously damaged, at least here on the list (leading single whitespace missing in unmodified lines). This also applies to your second patch.

The required steps with Thunderbird are: 1. start a new mail or reply as HTML (bah!), 2. set the text style of everything to preformat, 3. switch back to "Plain Text Only" under Options/Format. Hope somebody will once hack a plugin for disabling line wrapping on demand without this dance...

Anyway,I received complaints my patches were damaged nevertheless when sending inline. So I switched back to attachments (except for real tiny, non-wrapping patches). As long as you unsure that those patches do not suffer from special encoding, one one can still easily quote them on reply.

Jan

author
#2 lore raw

PATCH 1/1 1-bundle-email-spelling-help 2-rfc-add-newer-bench-tests

Quoted 26 lines · Jan Kiszka
Quoted 17 lines · Jim Cromie

im trying to inline this patch,
pls let me know if its still ws fouled
(in thunderbird, cp from svn diff |less, preformat b4 paste)

Index: CREDITS
===================================================================

CREDITS (working copy) renamed from CREDITS (revision 1412) +0 -0
@@ -43,7 +43,7 @@

D: the map.

N: Jim Cromie

CREDITS (working copy) renamed from CREDITS (revision 1412) +1 -1
-E: [email protected]
+E: [email protected]
Quoted 3 lines

D: Comprehensive statistics collection for the testsuite.
D: Validation test script. Various script fixes and sanitization.

Obviously damaged, at least here on the list (leading single whitespace missing in unmodified lines). This also applies to your second patch.

Quoted 6 lines

The required steps with Thunderbird are: 1. start a new mail or reply as HTML (bah!), 2. set the text style of everything to preformat, 3. switch back to "Plain Text Only" under Options/Format. Hope somebody will once hack a plugin for disabling line wrapping on demand without this dance...

<marge-simpson-voice> HRMM
maybe copy-src is the factor - Ive had luck my way (which yours sounds like) when cpying the diff from an emacs window.

No Matter ( machts nichts, or after americanization, MoxNix ) attachments are easier anyway, and RPM seems not to care either way.

So, 2 patches:

1- bundle: email, Kconfig spelling, switchbench print in us, not ns. issues :
- switchbench segfaults(iirc) for me - both before and after patch, so its not tested - and printf format purposely not tweaked, so as to give someone else the itch ;-)

2 - add newer benchmark tests to xeno-test RFC
- irqbench (all 4 ways)
- switchbench - segfaults
- switchtest
by the way, could we get renames ?
switch{,bench,test}/switch.c
is just unnecessarily confusing !

issues :
- are tests ready to add ? perhaps, if optional ?
- config dependence ignored
we have no guarantee of .config availability (or do we?)
- XENOT_* for tool(*) specific option setting from env warrants better prefix, but XENOTEST_TOPTS_* seemed too much

thanks
-jimc

testsuite/switchbench/switch.c +7 -6
Index: src/testsuite/switchbench/switch.c
===================================================================
@@ -38,8 +38,9 @@
 
 static inline void add_histogram(long addval)
 {
-       long inabs = rt_timer_tsc2ns(addval >= 0 ? addval : -addval) / 1000;  /* usec steps */
-       histogram[inabs < HISTOGRAM_CELLS ? inabs : HISTOGRAM_CELLS - 1]++;
+	/* usec steps */
+	long inabs = rt_timer_tsc2ns(addval >= 0 ? addval : -addval) / 1000;
+	histogram[inabs < HISTOGRAM_CELLS ? inabs : HISTOGRAM_CELLS - 1]++;
 }
 
 void dump_histogram(void)
@@ -134,10 +135,10 @@
        printf("RTH|%12s|%12s|%12s|%12s\n",
                       "lat min", "lat avg", "lat max", "lost");
 
-       printf("RTD|%12Ld|%12Ld|%12Ld|%12lld\n",
-                      rt_timer_tsc2ns(minjitter),
-                      rt_timer_tsc2ns(avgjitter),
-                      rt_timer_tsc2ns(maxjitter), lost);
+       printf("RTD|%12.3f|%12.3f|%12.3f|%12lld\n",
+                      rt_timer_tsc2ns(minjitter) / 1000,
+                      rt_timer_tsc2ns(avgjitter) / 1000,
+                      rt_timer_tsc2ns(maxjitter) / 1000, lost);
 
        if (do_histogram)
                dump_histogram();
CREDITS +1 -1
Index: CREDITS
===================================================================
@@ -43,7 +43,7 @@
 D: the map.
 
 N: Jim Cromie
-E: [email protected]
+E: [email protected]
 D: Comprehensive statistics collection for the testsuite.
 D: Validation test script. Various script fixes and sanitization.
 
arch/i386/Kconfig +4 -4
Index: ksrc/arch/i386/Kconfig
===================================================================
@@ -67,13 +67,13 @@
         and hence may not be altered.
 
         For this reason, Xenomai contains code to detect chipsets using
-        SMIs and optionnaly activate some workarounds to stop SMIs.
+        SMIs and optionally activate some workarounds to stop SMIs.
         
-        Enabling this option will cause Xenomai not to try and detect whether 
+        Enabling this option prevents Xenomai from detecting whether 
         your hardware use SMIs. This option is mostly useful if you know
         that your system does not use SMIs and really want to size Xenomai 
         modules down. The detection code has no run-time space overhead,
-        only disk-space overhead.
+        and a tiny memory footprint (<200 bytes on x86)
 
 config XENO_HW_SMI_DETECT
         bool
@@ -98,7 +98,7 @@
         and hence may not be altered.
 
         For this reason, Xenomai contains code to detect chipsets using
-        SMIs and optionnaly activate some workarounds to stop SMIs.
+        SMIs and optionally activate some workarounds to stop SMIs.
         Enabling this option cause those workarounds to be activated.
 
 if XENO_HW_SMI_WORKAROUND
xeno-test.in +19 -5
Index: scripts/xeno-test.in
===================================================================
@@ -190,16 +192,30 @@
     boxstatus
     (
         cd `dirname $0`/../testsuite/latency
-	loudly ./run --  $opts -t0
-	loudly ./run --  $opts -t1
-	loudly ./run --  $opts -t2
+	loudly ./run -- $XENOT_LAT $opts -t0 '# latency'
+	loudly ./run -- $XENOT_LAT $opts -t1 '# latency'
+	loudly ./run -- $XENOT_LAT $opts -t2 '# latency'
     )
+
     (	cd `dirname $0`/../testsuite/switch
-	loudly ./run --  '# switch'
+	loudly ./run --  $XENOT_SWITCH '# switch'
     )
+    (	cd `dirname $0`/../testsuite/switchbench
+	loudly ./run -- -p 10 -n -l 1000 $XENOT_SWITCHBENCH '# switchbench'
+    )
+    (	cd `dirname $0`/../testsuite/switchtest
+	loudly ./run -- -n $XENOT_SWITCHTEST '# switchtest'
+    )
+
     (	cd `dirname $0`/../testsuite/cyclic
-	loudly ./run -- -p 10 -n -l 1000 '# cyclictest'
+	loudly ./run -- -p 10 -n -l 1000  $XENOT_CYCLIC '# cyclictest'
     )
+    (	cd `dirname $0`/../testsuite/irqbench
+	loudly ./run -- -P 10 $XENOT_IRQBENCH -t0 '# irqbench user'
+	loudly ./run -- -P 10 $XENOT_IRQBENCH -t1 '# irqbench kernel'
+	loudly ./run -- -P 10 $XENOT_IRQBENCH -t2 '# irqbench irq-handler'
+	loudly ./run -- -P 10 $XENOT_IRQBENCH -t3 '# irqbench hard-irq-handler'
+    )
     boxstatus
     cleanup_load
 }
#3 lore raw

[Xenomai-core] Re: [patches] 1-bundle-email-spelling-help 2-rfc-add-newer-bench-tests

Quoted 41 lines · Jim Cromie
Quoted 26 lines · Jan Kiszka
Quoted 17 lines · Jim Cromie

im trying to inline this patch,
pls let me know if its still ws fouled
(in thunderbird, cp from svn diff |less, preformat b4 paste)

Index: CREDITS
===================================================================

CREDITS (working copy) renamed from CREDITS (revision 1412) +0 -0
@@ -43,7 +43,7 @@

D: the map.

N: Jim Cromie

CREDITS (working copy) renamed from CREDITS (revision 1412) +1 -1
-E: [email protected]
+E: [email protected]
Quoted 3 lines

D: Comprehensive statistics collection for the testsuite.
D: Validation test script. Various script fixes and sanitization.

Obviously damaged, at least here on the list (leading single whitespace missing in unmodified lines). This also applies to your second patch.

Quoted 6 lines

The required steps with Thunderbird are: 1. start a new mail or reply as HTML (bah!), 2. set the text style of everything to preformat, 3. switch back to "Plain Text Only" under Options/Format. Hope somebody will once hack a plugin for disabling line wrapping on demand without this dance...

<marge-simpson-voice> HRMM
maybe copy-src is the factor - Ive had luck my way (which yours sounds like)
when cpying the diff from an emacs window.

No Matter ( machts nichts, or after americanization, MoxNix ) attachments are easier anyway, and RPM seems not to care either way.

Quoted 8 lines

So, 2 patches:

1- bundle: email, Kconfig spelling, switchbench print in us, not ns. issues :
- switchbench segfaults(iirc) for me - both before and after patch, so its not tested - and printf format purposely not tweaked, so as to give someone else the itch ;-)

Would you mind to attach a debugger and trace this a bit down? I do not see this here. Or are there any special switches to apply?

Quoted 3 lines

2 - add newer benchmark tests to xeno-test RFC
- irqbench (all 4 ways)

See my other mail. This requires a second box and some explanation for the poor newbie who's just looking for a self-contained test run.

Quoted 12 lines

- switchbench - segfaults
- switchtest
by the way, could we get renames ? switch{,bench,test}/switch.c
is just unnecessarily confusing !

issues :
- are tests ready to add ? perhaps, if optional ?
- config dependence ignored
we have no guarantee of .config availability (or do we?)
- XENOT_* for tool(*) specific option setting from env warrants better prefix, but XENOTEST_TOPTS_* seemed too much

Quoted 3 lines

thanks
-jimc

Jan

#4 lore raw

Re: [Xenomai-core] [patches] 1-bundle-email-spelling-help 2-rfc-add-newer-bench-tests

In reply to Jim Cromie
Quoted 5 lines · Jim Cromie

1- bundle: email, Kconfig spelling, switchbench print in us, not ns. issues :
- switchbench segfaults(iirc) for me - both before and after patch, so its not tested - and printf format purposely not tweaked, so as to give someone else the itch ;-)

Patch applied, thanks.

Quoted 9 lines

2 - add newer benchmark tests to xeno-test RFC
- irqbench (all 4 ways)
- switchbench - segfaults
- switchtest
by the way, could we get renames ?
switch{,bench,test}/switch.c
is just unnecessarily confusing !

The two switch.c are renamed, I have not applied this second patch, since Jan seems to have an objection.

Signature · 1 line
					    Gilles Chanteperdrix.