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

Re: [PATCH for-4.18 v5] xen/pdx: Make CONFIG_PDX_COMPRESSION a common Kconfig option


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Mon, 16 Oct 2023 15:40:19 +0200
  • 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=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=3DWtfsZ/w1ncuaqwetCo4dV9h3I+NrmN94N+nh8cra0=; b=IpwP+gGSNqzPsymik0GaQA9G1T1U/KmNySjjSk9cHI8oSa+dfS+ll1TGGaCHuvM0KRYjezuCZQa9R1nX9B5dNV6urjNbIP6v1MfBJmS1fRNOL097LhdtibbSzBzhbYFgqL6goiIjucJ7e+eksSt2SfjanSjk6CxMy9UnwnpwyE6eP4O3jYJSHGbhImkmosSJ+ZQI+iMb/vf1//O/Fnp8QoN8yC3jikgc+v7KwGxTNm+YBX3WSRtMpo/aI5g7Hd4hrUmyxDbt+qm48EIgY82XPmDbcwX6YAigeEsmHu2Bszo0irC95y90IiGDVPXKVqV3dzqKowmDxvF2UprTTpNqsQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QdT3O7Lie5rLAXWk4jqnx2yuRVb3PxbefQIFkvcgHMjJAi/wRH4e6T+jL8DBi17FxlNrU+wxWi7Pg5bhEE9WtIatBRFDH1uMDmUYS/J4a9o5bC92SdIu2lkV3u5AuqBKlI8cdInnXIAkTRljlhXwpoWzr1A0tn+QlAF6JqHweXsc859/ekI29lInkk3uZMCw+SWQ7jLxWMqv+1caR0q8NiZSqKKu9Altd6XchVY6vCJ0xuybcli8FTbJkDouJ48snDWwKTgctdlA7fv66R8aqtTSzs4TaIIBw1Q4Wkf06LsKfk2fc0J9VqH35YAtBJF9tODeuQON5uTVUHc9QZ6Kzw==
  • 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 <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Mon, 16 Oct 2023 13:40:41 +0000
  • Ironport-data: A9a23:ceVqc6psCj4a0ELTuLhsoCgfWh5eBmJQZRIvgKrLsJaIsI4StFCzt garIBmBOKnbNmv9e40kPNni9B8EvpLdx4dmTVc//ipmRH8U85uZCYyVIHmrMnLJJKUvbq7FA +Y2MYCccZ9uHhcwgj/3b9ANeFEljfngqoLUUbOCYmYpA1Y8FE/NsDo788YhmIlknNOlNA2Ev NL2sqX3NUSsnjV5KQr40YrawP9UlKq04GhwUmAWP6gR5waGzidNVfrzGInqR5fGatgMdgKFb 76rIIGRpgvx4xorA9W5pbf3GmVirmn6ZFXmZtJ+AsBOszAazsAA+v9T2Mk0MC+7vw6hjdFpo OihgLTrIesf0g8gr8xGO/VQO3kW0aSrY9YrK1Dn2SCY5xWun3cBX5yCpaz5VGEV0r8fPI1Ay RAXAAsMbzWyisKm+qq2ELRppckYKeLXY7pK7xmMzRmBZRonabbqZvySoPN9gnI3jM0IGuvCb c0EbzYpdA7HfxBEJlYQDtQ5gfusgX78NTZfrTp5p4JuuzSVkFM3jeiraYKMEjCJbZw9ckKwv GXJ8n6/GhgHHNee1SCE4jSngeqncSbTAdhPS+XjpqYx6LGV7mMUCDcccXK6m+WS22WRAO1hE nALpQN7+MDe82TuFLERRSaQonSJoxodUNp4CPAh5UeGza+8yxaUAC0IQyBMbPQitdQqXno62 1mRhdTrCDdz9rqPRhq1/7OZrzq0NTISa3ELYSsJTwwt6N3kvY11hRXKJv5hH7S8itndEDT50 TeM6iM5gt07lscN3r6n9EvGhBq2r4DVSRQ44ArWWG+o9AJ/a8iuYInAwV/f4PVbLYffTUSbu 3MEmM+24+UHDJXLnyuIKM0tEbez9rC6OTvTqVd1Gt8q8DHF02W4YYla7TV6JUFoGsUJYznkZ AnUoww5zIBXFGuna+lweY3ZI8Y3yantE/z1W/aSacBBCqWdbyeC9SBqIEKVgWbklRF0lbllY M/CN8GxEXwdFKJriiKsQPsQ2qMqwSZ4wn7PQZf8zFKs1r/2iGOpdIrp+WCmNogRhJ5oai2Pm zqDH6NmEylibdA=
  • Ironport-hdrordr: A9a23:eB4G0K7QyUo/m+kHxAPXwD7XdLJyesId70hD6qkQc3FomwKj9/ xG/c5rsyMc7Qx6ZJhOo7+90cW7L080sKQFg7X5Xo3SOzUO2lHYT72KhLGKq1Hd8m/Fh4tgPM 9bGJSWY+eAaWSS4/ya3OG5eexQv+Vu8sqT9JnjJ6EGd3AaV0lihT0JejpyCidNNXB77QJSLu vg2iJAzQDQAUg/X4CAKVQuefPMnNHPnIKOW297O/Z2gDP+9g9B8dTBYmKl4is=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Oct 16, 2023 at 03:19:22PM +0200, Jan Beulich wrote:
> On 06.10.2023 17:27, Roger Pau Monné wrote:
> > On Fri, Oct 06, 2023 at 04:09:19PM +0100, Julien Grall wrote:
> >> On 06/10/2023 15:44, Andrew Cooper wrote:
> >>> From: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>
> >>>
> >>> Adds a new compile-time flag to allow disabling PDX compression and
> >>> compiles out compression-related code/data. It also shorts the pdx<->pfn
> >>> conversion macros and creates stubs for masking functions.
> >>>
> >>> While at it, removes the old arch-defined CONFIG_HAS_PDX flag.  Despite 
> >>> the
> >>> illusion of choice, it was not optional.
> >>>
> >>> There are ARM and PPC platforms with sparse RAM banks - leave compression
> >>> active by default there.  OTOH, there are no known production x86 systems 
> >>> with
> >>> sparse RAM banks, so disable compression.  This decision can be revisited 
> >>> if
> >>> such a platform comes along.
> >>
> >> (Process remarks rather than the code itself)
> >>
> >> Jan is away this week so I want to make sure this doesn't go in without him
> >> having a say.
> >>
> >> While I don't particularly care about the approach taken for x86, Jan 
> >> voiced
> >> concerned with this approach and so far I didn't see any conclusion. If
> >> there is any, then please point me to them.
> >>
> >> For the record, the objections from Jan are in [1]. If we want to ignore
> >> them, then I think we need a vote. Possibly only from the x86 folks (?).
> > 
> > I would be fine in leaving the option to be selected if we knew that
> > such x86 systems might be feasible, but so far we have seen 0 x86
> > systems with sparse RAM.  That said, I don't have a strong opinion, but
> > the hiding on x86 seems fine to me.  Interested parties can always
> > forcefully select the option, and a case can be made to make it
> > available again on Kconfig.
> 
> I find it odd to demand people to change source code for aspects like
> this. The very least I'd expect is that BIGMEM configurations (which
> I've never seen any production use of) can actually also engage PDX.

So we expect BIGMEM to have sparse RAM regions?  I would have expected
systems with >16TB of RAM to still be contiguous.

Thanks, Roger.



 


Rackspace

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