]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
module: Optimize search_module_extables()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 8 Feb 2017 14:48:01 +0000 (15:48 +0100)
committerJessica Yu <jeyu@redhat.com>
Sat, 11 Feb 2017 03:21:10 +0000 (19:21 -0800)
commit5ff22646d246e23bf8056c63bed6aaf9fd22ed12
treea7e60df861e3c92e706b06a407c1f01bdbec2be3
parent1f318a8bafcfba9f0d623f4870c4e890fd22e659
module: Optimize search_module_extables()

While looking through the __ex_table stuff I found that we do a linear
lookup of the module. Also fix up a comment.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jessica Yu <jeyu@redhat.com>
kernel/module.c