All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Webb <jeff.webb@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] switchtest and Xenomai 2.2.4
Date: Thu, 26 Oct 2006 14:49:27 -0500	[thread overview]
Message-ID: <45411147.1070205@domain.hid> (raw)
In-Reply-To: <4540ECA6.5000604@domain.hid>

Gilles Chanteperdrix wrote:
> In the file ksrc/drivers/testing/switchtest.c, try commenting the calls
> to try_module_get and module_put. You will need to recompile kernel
> space support. I am afraid the module counter is decreased several times 
> when close is called several times, so we basically screw it up.
> 
> The attached patch also closes the file descriptors only once the 
> threads are joined.

It looks like this did the trick.  After commenting out the try_module_get/module_put calls and applying your latest patch to switchtest.c, switchtest appears to be working properly once again.

Thanks,

Jeff


  parent reply	other threads:[~2006-10-26 19:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-15 21:32 [Xenomai-core] Xenomai v2.2.4 Philippe Gerum
2006-10-25 20:10 ` [Xenomai-help] switchtest and Xenomai 2.2.4 Jeff Webb
2006-10-25 23:43   ` Jeff Webb
2006-10-26  8:21     ` Gilles Chanteperdrix
2006-10-26 15:51       ` Jeff Webb
2006-10-26 15:56         ` Gilles Chanteperdrix
2006-10-26 16:44           ` Jeff Webb
2006-10-26 16:55             ` Jan Kiszka
2006-10-26 18:53               ` Jeff Webb
2006-10-26  7:35   ` Gilles Chanteperdrix
     [not found]   ` <454078AD.5000907@domain.hid>
     [not found]     ` <4540DE60.40209@domain.hid>
     [not found]       ` <4540E1AB.2040200@domain.hid>
     [not found]         ` <4540EABD.10403@domain.hid>
     [not found]           ` <4540ECA6.5000604@domain.hid>
2006-10-26 19:49             ` Jeff Webb [this message]
2006-10-27  8:18               ` Gilles Chanteperdrix
2006-10-27 14:45                 ` Jeff Webb
2006-10-27 15:05                   ` Gilles Chanteperdrix
2006-10-27 16:25                     ` Jeff Webb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45411147.1070205@domain.hid \
    --to=jeff.webb@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.