From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.pitre@linaro.org (Nicolas Pitre) Date: Thu, 22 Dec 2011 22:20:45 -0500 (EST) Subject: init_kprobes() takes too much time during boot up In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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