Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300Ab2JAPW2 (ORCPT ); Mon, 1 Oct 2012 11:22:28 -0400 Received: from mail-da0-f46.google.com ([209.85.210.46]:40857 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752252Ab2JAPWY (ORCPT ); Mon, 1 Oct 2012 11:22:24 -0400 MIME-Version: 1.0 Date: Mon, 1 Oct 2012 10:22:24 -0500 Message-ID: Subject: Context Switch Timer in Linux From: Xin Tong To: linux-kernel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 478 Lines: 11 I am wondering what timer is used for preemptive context switches in linux 2.6+ x86 ? the PIT can fire at fixed interval, but it is not per-cpu, i.e. can be handled by any CPU in the SMP system ? is Linux using the APIC timer ? Xin -- 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/