mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Phandle lookups still occur frequently after boot (like in the regulator subsystem), and they can be quite expensive if the device tree is complex. Lookups disable IRQs and have been observed to take over a millisecond on a mobile arm64 device, which is very bad for system latency. Keep the phandle cache around after boot to retain O(1) lookup times. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: azrim <mirzaspc@gmail.com>