From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Clipper idle mode, usleep and alrm Date: Sat, 15 May 2004 00:59:06 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <40A5331A.4060109@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Maximiliano Curia wrote: > Doing an strace I see a lot of SIGALRM which, I presume, are waking it > up all the time. Could it be? Yes. For the apps that do the polling in a tight loop, this doesn't hurt however, as they'll fall asleep again immediately. Clipper calls the interrupts that sleep, very infrequently, that's why SIGALRM makes it difficult to release the CPU in that case.