[Top] [All Lists]

Re: Memory mapping

To: "Siders, Keith" <>
Subject: Re: Memory mapping
From: Keith Owens <>
Date: Tue, 20 Nov 2001 11:15:04 +1100
Cc: "Linux-Mips (E-mail)" <>
In-reply-to: Your message of "Mon, 19 Nov 2001 10:18:23 MDT." <7DF7BFDC95ECD411B4010090278A44CA1B743F@ATVX>
On Mon, 19 Nov 2001 10:18:23 -0600, 
"Siders, Keith" <> wrote:
>OK, now that I've spent a couple weeks looking at Linux memory management,
>can someone please help me straighten this out. First, I have a requirement
>to "unobtrusively" hot-patch instruction code ( and probably data also )
>segments in memory.

At the risk of stating the obvious, have you looked at the ptrace code
in arch/$(ARCH)/kernel/ptrace.c?  That already does all the work for
reading and writing code and data.

<Prev in Thread] Current Thread [Next in Thread>