Skip to contentSkip to conversation

Add ability to keep track of callers of symbol_(get|put) ? (take 2)

DISCUSSION Matthieu Bec 1 participant 1 message May 9, 2013

lore
Share & tools
lore
#0 lore raw

I came into the situation previously reported as "[RFC PATCH 1/3] Add ability to keep track of callers of symbol_(get|put)"

The thread is here - https://lkml.org/lkml/2007/3/9/519

A patch was submitted back then. Maybe it drop off the radar?

On 3.8.11 kernel, I find that

- for symbol_get, the 'holder' field of the resolved symbol's module does not update. mild annoyance IMHO

- for symbol_put, when ref. count reaches 0, there is no 'rmmod' equivalent so it just stays there in memory. That somewhat seemed less deliberate?

Regards