public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Yitzchak Eidus <ieidus@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: changing internal kernel system mechanism in runtime by a module patch
Date: Fri, 17 Nov 2006 08:47:32 +0200	[thread overview]
Message-ID: <20061117064732.GC3735@rhun.zurich.ibm.com> (raw)
In-Reply-To: <e7aeb7c60611161119h3e198e96va07d36d5b2dd6390@mail.gmail.com>

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



  parent reply	other threads:[~2006-11-17  6:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16 19:19 changing internal kernel system mechanism in runtime by a module patch Yitzchak Eidus
2006-11-16 19:29 ` Adrian Bunk
2006-11-16 21:49   ` Jan Engelhardt
2006-11-16 21:12 ` Stephen Hemminger
2006-11-17  6:47 ` Muli Ben-Yehuda [this message]
2006-11-17  6:58   ` Christoph Hellwig
2006-11-17  7:06     ` Muli Ben-Yehuda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061117064732.GC3735@rhun.zurich.ibm.com \
    --to=muli@il.ibm.com \
    --cc=ieidus@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox