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

Re: [PATCH v2] x86/domain: adjust limitation on shared_info allocation below 4G


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Wed, 4 Feb 2026 16:12:22 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=9QtljWU9r4SOm1pPzYouoeVIje9jwT91M/LzaLtsqFE=; b=VoqAfmzw6Q7fhjYOHVD2CHHifqmbL7EC0Xjp5re82fYzMWC5GOqlX5Dqw/otO8xsRk8WjcMQR6X8yKmn1m4l+h5Jons353C/RtmzeLbQAZ6k8/DmTVQBuTrXRgLdYXNTiQvRv9bA+CGy9SDZh12IFTqybluZDe4o8zQfaxii14Ma/RTJWrnbAn8KrRJxR8am+nlf/a5BLwTp5aoKOBWToiwwLxZYV8oqGhkS6RrAg3APs8owTS1jbj8RtL5+RZAEaNgnXglVALCGv7GHRiDLn6N2HCYmYPmcuTr9IgTATzFJ4IO0c+3fiRG4r8GRapsYsKx3Yodjkh8f3fV1vTh50w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CrGJ/YSmFYCsY/W5nkXXHoOI6btYJ8Zy1RUJRh2kAPwuKbWBWl9+D3SqB/3F8MPdSVZ7r+QAFxAFOA25/m59Vq+tvM7g+9ercgnr6Ku27VH67KyHLfOuPTElw2gLrGFi8D8xU6K6DKmUh9hZJ9R/7q5ymRHWiMmQ2H/h5Uuif16FKS7R1/mt3CCCGe57Y+rg8UumUQ7DkVG2tgkeNRWvelUd0Ytwy98tv5BQLjG9Zq7GgTqk7z2UeSOTz0hQjqU2frRyx68j0dxAEu+tiKxxeTyeIsNCAoOpg/1YWeOnI6AIr4c8QOllU6z4zQD/cf+Dhg6zBMVGqDGsdF+waMBW/w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Wed, 04 Feb 2026 15:13:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 04/02/2026 3:01 pm, Roger Pau Monné wrote:
>>> +        share_xen_page_with_guest(virt_to_page(d->shared_info), d, 
>>> SHARE_rw);
>>> +        /* Ensure all references to the old shared_info page are dropped. 
>>> */
>>> +        for_each_vcpu( d, v )
>>> +            vcpu_info_reset(v);
>> switch_compat() can only occur on a domain with no memory.  How can we
>> have outstanding references?
> As Jan pointed out, it's not references, but stashed pointers to the
> previous shared_info page.  I've used the wrong wording here.

Yes, I saw that thread, but my question still stands.

How can there be any this early in the domain's lifecycle?

~Andrew



 


Rackspace

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