From: Paul Davis Subject: Re: Re: [Jackit-devel] irq handler top half timestamps Date: Fri, 10 Dec 2004 15:51:43 -0500 Message-ID: <200412102051.iBAKphFL012668@localhost.localdomain> References: <1102705260.29919.7.camel@krustophenia.net> Return-path: In-reply-to: Your message of "Fri, 10 Dec 2004 14:00:59 EST." <1102705260.29919.7.camel@krustophenia.net> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: Florian Schmidt , Jaroslav Kysela , Ingo Molnar , jackit-devel@lists.sourceforge.net, alsa-devel List-Id: alsa-devel@alsa-project.org >Maybe I am not understanding the ALSA code correctly, but I was under >the impression that ALSA interrupt handlers do not really have a bottom >half as such, in that they do not schedule any work for later via >raising a softirq or scheduling a tasklet. They just do it all in the >top half. It's possible for ALSA to do everything in the top half >because all you do in an ALSA interrupt handler is call >snd_pcm_period_elapsed on one or more substreams. For this to work it >seem like snd_pcm_period_elapsed has to be O(N) and therefore realtime >safe. with ingo's RP patches, every IRQ has a top half and bottom half. the question is whether the top half calls the bottom half directly or arranges for it to run in a thread "later". that's my understanding, anyway. --p ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/