[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 13 Dec 2022 12:35:44 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=43ZenRijF+5J/r/Cm44hqql35sA/6bKvw9e+vWf6plc=; b=j6pOV4sxoiHap1rMsL1LP/77rp9xRp/nAZvIfksUnIKA4qPxkf1rDe3juvwXss/KElK9H0v4nhqyGwQ2PfKvpgd72/2+bhBfFT7b04t/AysZfsXZS1B1a94YJKanUfaXWRGG4r4kyaiaD4z3K1VUfE+2q6YNqbRHhhOAs+Q2DitnKqvJdHuiwbeapdtdV7ztIPeCr5/K9qvqd172hXmI1mgQOUMC5DeqcfsfdMHJj517+32KRw3OuBQvoFu7i6v4HKKPiPboyUtVit8NVJikLSc6YIooDJcsOFyfKPav210SWzgjCa7DDH4gsdeNP2r5uorT3Fp0xTI7pywWDzEWBw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AGMHQXyQ1ueC6A57xCDdvtXVzv08bYAOM8t5llCZLUQbRel/aO9X2+4JTvxwVKZ7+CwTpfXgJEQYeVi7FZRoMgw7+QqIAIyK5fjmIpFIGTsoQLc8ZZfv/EabPnZeE65LdTkVXuhkIux8IEagE+LEo8d80GJhP2F+WkQnDKZFJvmYoax3qc3Uln53KwtyBXTb8z/IpK3b3HSynBWiBJUKvKUSzyVZ3j7aSSV/vXVotflUkQwi9YFnFlLC2zGiQ92qJviNbvPE0HFDmkP+QP4sYB392mVWyY1i5UGz1MlGfFYwdROx3J992IvUKjcb+0SkkMAC429ZIvYQFH6uR097EA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 13 Dec 2022 11:35:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.