Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935355AbZLHDiM (ORCPT ); Mon, 7 Dec 2009 22:38:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932739AbZLHDiL (ORCPT ); Mon, 7 Dec 2009 22:38:11 -0500 Received: from snt0-omc4-s2.snt0.hotmail.com ([65.55.90.205]:3382 "EHLO snt0-omc4-s2.snt0.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932281AbZLHDiK convert rfc822-to-8bit (ORCPT ); Mon, 7 Dec 2009 22:38:10 -0500 X-Originating-IP: [94.195.177.167] X-Originating-Email: [johnkyr83@hotmail.com] Message-ID: From: "Ioannis Kyriakopoulos" To: "'john stultz'" CC: References: <1f1b08da0912071330i35808790r554f7a3a8d712ca7@mail.gmail.com> <1260232212.6255.33.camel@localhost.localdomain> <1f1b08da0912071805m7bbd65cdhfcf9284379bbe23c@mail.gmail.com> In-Reply-To: <1f1b08da0912071805m7bbd65cdhfcf9284379bbe23c@mail.gmail.com> Subject: RE: timer interrupt stucks using tickless kernel Date: Tue, 8 Dec 2009 03:38:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acp3quJmaGwa4SMuSF+ju6ZFb5xG/wAA41qg Content-Language: en-gb X-OriginalArrivalTime: 08 Dec 2009 03:38:16.0718 (UTC) FILETIME=[E0C492E0:01CA77B7] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1805 Lines: 51 >> The system tick is >> generated by IRQ0 which in my second configuration should be triggered >> by HPET (because I have enabled the HPET timer support). > >System tick? I mean the timer interrupt that drives the scheduler. >> Also, if the >> interrupts generated by LAPIC are incremented at HZ freq, why the >> interrupts generated by the timer (IRQ0) not happen at the same frequency >> ?as well? > >Why take two interrupts when you could only take one? That's exactly my question. Why we have both LAPIC and timer interrupts? If the LOC are used for driving the scheduler then for what the "timer" interrupts (IRQ0) are used? 0: 157 IO-APIC-edge timer LOC: 1865130 Local timer interrupts >> Furthermore, we don't have an answer on why IO-APIC is used at the time >> that it is disabled on kernel configurations. The fact that I have enabled >> LAPIC timer support doesn't justify the use of the IO-APIC controller >> by each own. > >Honestly, I dunno on the details there. If CONFIG_X86_IO_APIC=n, it >looks like you should not be seeing the IO-APIC-* names in >/proc/interrupts. Are you sure your booting the right kernel, or >CONFIG_X86_IO_APIC is actally on in your .config? I try to uncheck CONFIG_X86_IO_APIC manually because it's not appeared under Xconcig/menuconfig but it re-checked automatically when it tries to build. In order to disable it permanently, should I also uncheck all the configs that depend on it? >Ok. I hope these aren't homework questions :) Don't worry, it's not homework ;) Thanks, John K. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/