[PATCH AUTOSEL 5.4 117/459] bpf: Improve bucket_log calculation logic