From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Date: Thu, 26 Aug 1999 21:04:04 +0000 Subject: Re: Bad MIDI performance : 10ms latency instead of the expected Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sound@vger.kernel.org > Is possible to create some thread for this loop inside kernel module? There is no point > I don't want to suspend the application execution due to a broken > hardware. I did some tests with 2.2 kernels (using kernel_thread()) and > I've not been successful. It is cheaper for the application thread to spin briefly in kernel space than to schedule other threads.