Skip to content

jump label: updates for 2.6.37

Jason Baron lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 44 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3jump label: add enabled/disabled state to jump label key entrieskernel/jump_label.c+79 -2225 replies
2/3jump label: move jump table to r/w sectioninclude/asm-generic/vmlinux.lds.h+4 -106 replies
3/3jump label: add docsDocumentation/jump-label.txt+126 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] jump label: updates for 2.6.37

Hi,

A few jump label patches that I want considered for 2.6.37. Patches are against the latest -tip tree.

The first one, which adds 'state' to the jump label mechanism is the most important. Essentially, it ensures that if jump labels are enabled/disabled in the core kernel but the actual call sites are in modules, we properly honor the state of the jump label. This also works for jump labels which may be defined in one module but made use of in another module.

There has been some discussion about using the 'key' variable to store the enabled/disabled state for each jump label. However, I think a better design will be to use the 'key' variable to store a pointer to the appropriate jump label tables. In this way, we can enable/disable jump labels, without the hashing that I'm currently doing. However, I didn't want to propose these more invasive changes until 2.6.38.

thanks,

-Jason

Jason Baron (3):
jump label: add enabled/disabled state to jump label key entries jump label: move jump table to r/w section
jump label: add docs

 Documentation/jump-label.txt      |  126 +++++++++++++++++++++++++++++++++++++
 include/asm-generic/vmlinux.lds.h |   14 +---
 kernel/jump_label.c               |  101 +++++++++++++++++++++++-------
 3 files changed, 209 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/jump-label.txt