init_kprobes() takes too much time during boot up

Nicolas Pitre nicolas.pitre at linaro.org
Thu Dec 22 22:20:45 EST 2011


On Fri, 23 Dec 2011, Eric Miao wrote:

> I was trying to improve the kernel boot performance of the boards at
> my hands, while simply turning on initcall_debug, and found that
> init_kprobes() won the crown of being the most hungry time gobbler.
> 
> Before I take my time to look into why it's taking so much time, I'd
> post the question to the list to seek help first.

>From a quick glance, the "Lookup and populate the kprobe_blacklist" 
loops certainly have the potential to be costly.

There is nothing with notable complexity in the ARM specific part.

CC'ing Tixy in case he has a better idea.


Nicolas



More information about the linux-arm-kernel mailing list