Turning gr_learn_resource etc. into dummy static inlines
Posted: Thu Mar 22, 2012 11:55 am
Recently I did some perf recording and noticed gr_learn_resource and some other functions show up here and there where the time spent wasn't completly negligible.
I wondered if there is any harm in turning these into complete NOOPs? With the RBAC and a few other features disabled it doesn't seem to require them?
I hope the kernel will get complete LTO support sometime..
I wondered if there is any harm in turning these into complete NOOPs? With the RBAC and a few other features disabled it doesn't seem to require them?
I hope the kernel will get complete LTO support sometime..