Re: [PATCH] Linux Kernel Markers

Frank Ch. Eigler
2006-09-19T17:02:58Z

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

Hi -

On Tue, Sep 19, 2006 at 09:52:55AM -0700, Martin Bligh wrote:

> >[...] (How many distributions keep around compilable source
> >trees?)
>
> ???? Boggle. Any distro that cannot find the source code for it's kernel
> deserves a swift kick to the head, plus a red hot poker somewhere else.

My question is more whether they package up such a buildable
configured patched source tree (/usr/src/redhat/BUILD/* in RH-speak),
or just some extract like the .c/.h files.

> >>[...] It seems like all we'd need to do is "list all references to
> >>function, freeze kernel, update all references, continue", [...]
> >
> >One additional problem are external references made *by* the function.
> >Those too would all have to be relocated to the live data.
>
> Not sure what you mean ... could you give a quick example?

Think about stuff that any function does. It calls other functions,
and manipulates global data, which all show up as external references
in the object code. All those references would have to be patched to
refer to the live running copy of the original compilation unit.

- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]