Re: Weird wasting of time between ioctl() and ioctl dispatcher

From: Andi Kleen
Date: Mon Nov 27 2006 - 06:11:16 EST


"Cestonaro, Thilo \(external\)" <Thilo.Cestonaro.external@xxxxxxxxxxxxxxxxxxx> writes:

> 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.

Something else is holding the big kernel lock for that long. Most likely
it's your own code. Consider using a ->unlocked_ioctl

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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/