kpatch/kmod
Josh Poimboeuf 0ebbed244e create-diff-object: percpu support
The -fdata-sections gcc flag doesn't work with objects in the
.data..percpu section.  Any function which uses a percpu variable
references this section, causing the section to get incorrectly included
in the patch module.

Manually convert these section references to object symbol references so
that the needed symbol can be found in vmlinux.

Also, the core module symbol verification code will fail when looking up
a percpu variable, because sprint_symbol doesn't think a percpu address
is a valid kernel address.  So rewrite the symbol verification code to
use kallsyms_on_each_symbol() instead.  It's not ideal performance-wise:
it seems to cost about 1ms per symbol lookup.  I think that's acceptable
for now.  In the future we may want to try to get a better upstream
kallsyms interface.
2014-05-27 12:47:42 -05:00
..
core create-diff-object: percpu support 2014-05-27 12:47:42 -05:00
patch dynrelas support, obsoleting link-vmlinux-syms 2014-05-20 12:44:31 -05:00
Makefile kmod: install core module to "extra" subdir 2014-05-13 15:10:40 -05:00