Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263074AbVCXHDO (ORCPT ); Thu, 24 Mar 2005 02:03:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263072AbVCXHBy (ORCPT ); Thu, 24 Mar 2005 02:01:54 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:59065 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S263069AbVCXHAn (ORCPT ); Thu, 24 Mar 2005 02:00:43 -0500 Date: Thu, 24 Mar 2005 08:00:41 +0100 (MET) From: Jan Engelhardt To: sounak chakraborty cc: linux kernel Subject: Re: sched.c function In-Reply-To: <20050324044331.10713.qmail@web53305.mail.yahoo.com> Message-ID: References: <20050324044331.10713.qmail@web53305.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 643 Lines: 20 >Dear sir, > > I am new to kernel. I want to know which function in >the file sched.c or procedure is called to bring a >process for processing in the CPU after context >switching. In schedule(), context_switch() is called -- there is not any processing needed, the task state is just copied from memory back into CPU and.. +finished. There's a finish_task_switch(), though. Jan Engelhardt -- - 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/