lkml.org 
[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/9] Ksplice: Add functions for walking kallsyms symbols
On Wed, 11 Feb 2009, Jon Masters wrote:

> Folks,
>
> Please forgive me not tracking ksplice closely enough - I didn't think
> it required these changes - is there some refactoring going on currently
> or am I mistaken and these patches are now a necessary pre-req.?

Hi Jon,

There are two different versions of the Ksplice kernel module, a
"standalone" version that works with an unmodified kernel, and the version
that we've proposed for mainline merge.

One difference between the two versions is that the standalone version has
implementations of functions such as kallsyms_on_each_symbol in the
Ksplice core module (i.e. the module containing ksplice.c).

Normally, one would not be able to implement kallsyms_on_each_symbol in a
module, because it would not have access to necessary symbols such as
kallsyms_num_syms (an unexported global symbol). The standalone version
of Ksplice resolves these symbols through a bootstrapping process.

This bootstrapping technique doesn't make any sense for a Ksplice in
mainline; these prerequisite patches put functions such as
kallsyms_on_each_symbol where they belong.

-Tim Abbott




\
 
 \ /
  Last update: 2009-02-12 07:19    [W:0.211 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site