mako_hotplug: some performance optimizations.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>