diff options
| author | Boaz Harrosh <[email protected]> | 2012-05-31 16:26:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-05-31 17:49:28 -0700 |
| commit | 785042f2e275089e22c36b462f6495ce8d91732d (patch) | |
| tree | 4e847408b4e675c7c616d357ae9b330f7104fbc0 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 81ab6e7b26b453a795d46f2616ed0e31d97f05b9 (diff) | |
kmod: move call_usermodehelper_fns() to .c file and unexport all it's helpers
If we move call_usermodehelper_fns() to kmod.c file and EXPORT_SYMBOL it
we can avoid exporting all it's helper functions:
call_usermodehelper_setup
call_usermodehelper_setfns
call_usermodehelper_exec
And make all of them static to kmod.c
Since the optimizer will see all these as a single call site it will
inline them inside call_usermodehelper_fns(). So we loose the call to
_fns but gain 3 calls to the helpers. (Not that it matters)
Signed-off-by: Boaz Harrosh <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions