[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 12/12] x86/shadow: adjust monitor table prealloc amount
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Fri, 20 Feb 2026 15:16:54 +0000
- 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=44BdH1H5ikua9BYyOTRKPJoj2lHpZG9Ti1VmyFOxR8U=; b=oQir2DOIddT/G1OVf6taUO2rIZ5drc/pYAute6BqFYE86wMZF//EpjAjrCpJLEE9gGLj92ZAu9YXLz9l81A9TrEP55aDV0VmdbRcUgr2Qp8RLNWDGtOXqa+/h7cRCIEOtodhWbHoZmuCXy2mHd2UgUOBSwyB/lJ/FTzx2USD5qMQ81aaj6mEIKHW694WDKrG+nQcU4+ObH60oeJttgYb08gB5rGp1/fb0O3JmP1i+Wgu7tKZAfMG5Svg4nNJoFhxpZeGk3pioX8/O3X/AN5E6sBnXluaYhxYFkBuKB/70o4h2/rOB5WnEYD050pjef3KIhhA9CcjOJnnr48E7gdIiA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Hf8039kKbEzFaS3J7G8htUbR6ynUT+5vwCvPb7NAEe0fshLVtO89JBF+K6njyZePeMAv81QTkNtN2S9fSrdeK3l/gOVnzKB/38pxfKVLVBGqTh0am+70ImgVQyeXSx5a2Tv6zmB0VFnJmAGu0Tn2bKvlhh7/ZsEyeYJqSEyUxiInaA7nX4K0VEjuQDUy1BfM/MPgg2pszFobKWJOyI0uBz+PP5TmbSQOzc3LGYO7li8oHc6tR5WXhFaFKVdPc3XYdgkEHrKNGlvY1b76jRhao8mn9BL0+psGpxfmYNxxF1fckyUSSUKb7HBrbzbWcMV8Ao0aWWZ0EzGfs2aIRF8s1A==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>
- Delivery-date: Fri, 20 Feb 2026 15:17:10 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 16/05/2023 8:42 am, Jan Beulich wrote:
> While 670d6b908ff2 ('x86 shadow: Move the shadow linear mapping for
> n-on-3-on-4 shadows so') bumped the amount by one too little for the
> 32-on-64 case (which luckily was dead code, and hence a bump wasn't
> necessary in the first place), 0b841314dace ('x86/shadow:
> sh_{make,destroy}_monitor_table() are "even more" HVM-only'), dropping
> the dead code, then didn't adjust the amount back. Yet even the original
> amount was too high in certain cases. Switch to pre-allocating just as
> much as is going to be needed.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
|