Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754937AbWKQGrg (ORCPT ); Fri, 17 Nov 2006 01:47:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754947AbWKQGrg (ORCPT ); Fri, 17 Nov 2006 01:47:36 -0500 Received: from mtagate4.de.ibm.com ([195.212.29.153]:56544 "EHLO mtagate4.de.ibm.com") by vger.kernel.org with ESMTP id S1754937AbWKQGrf (ORCPT ); Fri, 17 Nov 2006 01:47:35 -0500 Date: Fri, 17 Nov 2006 08:47:32 +0200 From: Muli Ben-Yehuda To: Yitzchak Eidus Cc: linux-kernel@vger.kernel.org Subject: Re: changing internal kernel system mechanism in runtime by a module patch Message-ID: <20061117064732.GC3735@rhun.zurich.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 26 On Thu, Nov 16, 2006 at 09:19:50PM +0200, Yitzchak Eidus wrote: > is it possible to replace linux kernel internal functions such as > schdule () to lets say my_schdule () in a run time with a module > patch??? (so that every call in the kernel to schdule() will go to > my_schdule()... ) ??? Not in Linux. > i am talking about a clean/standard way to do such thing > (without overwrite the mem address of the function and replace it in a > dirty way...) k42 supports "dynamic hot-swap" and there's been some work done to bring it into Linux, see e.g., http://ozlabs.org/pipermail/k42-discussion/2006-October/001615.html. Cheers, Muli - 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/