From: Arjan van de Ven <arjan@infradead.org>
To: "Cestonaro,
Thilo (external)" <Thilo.Cestonaro.external@fujitsu-siemens.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Weird wasting of time between ioctl() and ioctl dispatcher
Date: Mon, 27 Nov 2006 09:50:29 +0100 [thread overview]
Message-ID: <1164617429.3276.18.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <F7F9B0BE3E9BD449B110D0B1CEF6CAEF03FA5863@ABGEX01E.abg.fsc.net>
On Mon, 2006-11-27 at 09:24 +0100, Cestonaro, Thilo (external) wrote:
> Hey,
>
> I'm a developer for Fujitsu Siemens Computers, working on a program which has it's own kernel modules and userland components.
> Now cause the program should be released we have done some testing and during this testphase a wierd wasting of time occured
> during the call of the ioctl() in the userland component and the actuall entering of the dispatcher function in the module.
> It takes 3 min. until the call at last enters my dispatcher. (Debugging output with printf on line before ioctl() and printk as first line in the
> dispatch function points that out). The dispatch function is the ioctl part of the fileoperations struct which defines the module stuff.
>
> The kernel I'm running is the 2.6.16.21-0.8-default of SLED10 (32Bit), but installed on a 64Bit machine.
> Can anyone point me to, where I can have a look where the waste of time comes from?
>
> The ioctl itself works fine afterwards, but the whole process is time-critical so the 3 min. do hurt :(.
Hi,
unfortunately you did not post the source code of at least your kernel
driver, nor did you provide an URL to the source, so it's really hard
for us to help you. Would you mind correcting this oversight?
Greetings,
Arjan van de Ven
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
next prev parent reply other threads:[~2006-11-27 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-27 8:24 Cestonaro, Thilo (external)
2006-11-27 8:50 ` Arjan van de Ven [this message]
2006-11-27 11:10 ` Andi Kleen
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=1164617429.3276.18.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=Thilo.Cestonaro.external@fujitsu-siemens.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®