Module: xenomai-2.6
Branch: master
Commit: 231476dfed099422eef0986770b3b3047ba914cb
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=231476dfed099422eef0986770b3b3047ba914cb

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Jul 27 10:37:07 2013 +0200

nucleus: raise maximum number of pending low stage requests

Test cases creating a large number of objects in a row might hit the
former limit (64) on issuing async requests to the Linux domain from
the Xenomai domain.

Although this patch only mitigates the core issue induced by having a
static limit, it makes the situation even more unlikely.

---

 ksrc/nucleus/shadow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/shadow.c b/ksrc/nucleus/shadow.c
index 0d4c60a..38c1423 100644
--- a/ksrc/nucleus/shadow.c
+++ b/ksrc/nucleus/shadow.c
@@ -94,7 +94,7 @@ static struct __lostagerq {
                int type;
                struct task_struct *task;
                int arg;
-#define LO_MAX_REQUESTS 64     /* Must be a ^2 */
+#define LO_MAX_REQUESTS 128    /* Must be a ^2 */
        } req[LO_MAX_REQUESTS];
 
 } lostagerq[XNARCH_NR_CPUS];


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to