Merge tag 'bitmap-for-6.17-rc5' of https://github.com/norov/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Sep 2025 18:10:36 +0000 (11:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Sep 2025 18:10:36 +0000 (11:10 -0700)
commitec299e4dc21e8cc476c2c848813919db79492dda
treea50a63eb9194e6e9fffe528d10add30db3c4f6df
parente6b9dce0aeeb91dfc0974ab87f02454e24566182
parent5ebf512f335053a42482ebff91e46c6dc156bf8c
Merge tag 'bitmap-for-6.17-rc5' of https://github.com/norov/linux

Pull bitmap fix from Yury Norov:
 "Fix sched_numa_find_nth_cpu() if mask offline

  sched_numa_find_nth_cpu() uses a bsearch to look for the 'closest' CPU
  in sched_domains_numa_masks and given cpus mask. However they might
  not intersect if all CPUs in the cpus mask are offline.

  bsearch will return NULL in that case, bail out instead of
  dereferencing a bogus pointer"

* tag 'bitmap-for-6.17-rc5' of https://github.com/norov/linux:
  sched: Fix sched_numa_find_nth_cpu() if mask offline