(2013/11/27 2:44), Oleg Nesterov wrote:
> FETCH_FUNC_NAME(symbol) blindly dereferences sc->addr + sc->offset,
> this is not what we want if this symbol is per-cpu. Change this code
> to use this_cpu_ptr(sc->addr) in this case.
This looks good for me :)
Thanks!
> Note: this doesn't work for modul
FETCH_FUNC_NAME(symbol) blindly dereferences sc->addr + sc->offset,
this is not what we want if this symbol is per-cpu. Change this code
to use this_cpu_ptr(sc->addr) in this case.
Note: this doesn't work for modules, but module's per-cpu data is
not visible for kallsyms_lookup_name() anyway.
Sig
2 matches
Mail list logo