mbox series

[0/2] NUMA: phys_to_nid() related adjustments

Message ID 471bd202-7bf0-81be-e8a5-780ea5975a70@suse.com (mailing list archive)
Headers show
Series NUMA: phys_to_nid() related adjustments | expand

Message

Jan Beulich Dec. 13, 2022, 11:35 a.m. UTC
First of all we need to deal with fallout from converting the
function's previously dead checks to ASSERT(). An approach with a
weakness is proposed on patch 1; see the RFC remark there. Plus
phys_to_nid() has been somewhat inefficient with respect to all of
its present callers.

1: x86/mm: avoid phys_to_nid() calls for invalid addresses
2: NUMA: replace phys_to_nid()

Jan