Page 1 of 1

Turning gr_learn_resource etc. into dummy static inlines

PostPosted: Thu Mar 22, 2012 11:55 am
by Lox
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.. :)

Re: Turning gr_learn_resource etc. into dummy static inlines

PostPosted: Thu Mar 22, 2012 2:39 pm
by spender
I've added this to my TODO.

Thanks,
-Brad

Re: Turning gr_learn_resource etc. into dummy static inlines

PostPosted: Thu Mar 22, 2012 5:46 pm
by PaX Team
Lox wrote:I hope the kernel will get complete LTO support sometime.. :)
i've been testing LTO'd linux kernels for half a year now ;).