Nak.
Sorry for terse, top-post. I'll respond in more detail within 24 hrs.
+ 1 (415) 694 2930
On Jun 26, 2009, at 8:38, GeunSik Lim <leemgs1@xxxxxxxxx> wrote:
From 63c01db3e4b2c3a76f0dd5191f46535137e310c8 Mon Sep 17 00:00:00
2001
From: GeunSik,Lim <leemgs1@xxxxxxxxx>
Date: Fri, 26 Jun 2009 23:36:45 +0900
Subject: [PATCH 2/3] cyclictest: Fix priority-- method of many
threads with -h.
If we run a many threads with -t option, "priority--" rt priority
will assign
per thread in sequence. But, If we use -h option, all threads is
same priority.
Adjust the same prirotiy method about below two examples for
consistency.
ex) cyclictest -t 5 -p 50 [enter] <-- without -h
ex) cyclictest -t 5 -p 50 -h 100 [enter] <-- with -h
Signed-off-by: GeunSik Lim <geunsik.lim@xxxxxxxxxxx>
---
src/cyclictest/cyclictest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index ad4c421..3505de5 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1150,7 +1150,7 @@ int main(int argc, char **argv)
}
par[i].prio = priority;
- if (priority && !histogram)
+ if (priority)
priority--;
if ( policy == 0) par[i].policy = SCHED_OTHER;
else if ( policy == 1) par[i].policy = SCHED_FIFO;
--
1.6.3.1
-----------------------------------------------
To unsubscribe from this list: send the line "unsubscribe linux-***"
in the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
GeunSik Lim ( Samsung Electronics )
e-Mail :1) geunsik.lim@xxxxxxxxxxx
2) leemgs@xxxxxxxxx , leemgs1@xxxxxxxxx
HomePage: http://blog.naver.com/invain/
-----------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-
users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html