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

Re: [PATCH v2] xen/balloon: rename alloc/free_xenballooned_pages


  • To: Juergen Gross <jgross@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Fri, 5 Nov 2021 08:18:44 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.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=+1n0aW1qRjyd2dJ1wc6zCGKxwvh8PrkR5DsZCsxE/yg=; b=S38a36J/UYPwPWkGSoghDJzOxAoZTUXzkzF6wG3iwoXiUnXmO3mjpR+bA+ni5Il1tDK5Ex1UkNn2GxNXmBqS6N9vMqu75NEYm/fqow75Wr6wcTl47mzOPLRpxRS1HImbymKVKj2awvdBIs9F05zxrGG+F7L/Au8bMQv9oI05rADhHUUWyNVXLJR2PMH5rrqB/BdmtTeUVZcUSz666J//h/nImg2qQRgg4EIB3BHGMvoDhNLbmIBhAGBrbrwJZvNDNm3cJA6NOSm58qo7ZEgKWQAxrv8tIAGyuQ464jJrVgGllHw3hwHPXq+Zu2V6T/N1pcQFNepbTc1RnoYL/WEyvA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IIfPZC2jQ79SNDKx26An6CPYjcX366y9VFv9rVluftyZt6F1E0dHaDLNOVX8P0SjjCe1ak70iOWCKFH8i52nFCToQgMBK4mEGgEcJM5KeCFrn1Q4Qo6bcCIiOB8PzUAy9OwTfZKfrjFN+2dUZ5dmVxMcKrWVXYpx/dHIgkz/OgU59rIAtPUz+piQgCi6zBJx+PCDj0HxigUfyHNNQ7AC5/of+2g8JjeBDDMK0x+4aVnmle4WRqWlURlE7MBUP68EhqNLzxP8n3g2y7kDLR9XaMDxq6gPcYkEiYQxAb3s+scEd8UnchQzYchEa7kirAvfpbli3VH9/0Bk8nJg6SvoeQ==
  • Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=oracle.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 05 Nov 2021 12:19:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 11/2/21 5:22 AM, Juergen Gross wrote:
alloc_xenballooned_pages() and free_xenballooned_pages() are used as
direct replacements of xen_alloc_unpopulated_pages() and
xen_free_unpopulated_pages() in case CONFIG_XEN_UNPOPULATED_ALLOC isn't
defined.

Guard both functions with !CONFIG_XEN_UNPOPULATED_ALLOC and rename them
to the xen_*() variants they are replacing. This allows to remove some
ifdeffery from the xen.h header file. Adapt the prototype of the
functions to match.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>


Applied to for-linus-5-16b.


-boris




 


Rackspace

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