[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: Julien Grall <julien@xxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Fri, 6 Oct 2023 17:27:27 +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=zhtiX/bDtVEhk3fOYwNRjd7Ao4M2PcFhsPYgkWH5CeE=; b=RP09ycyrX5BXmDUXfLbk5bqvcesTFzvzYYmdmdR5267njx87454caPSe6S8BSv7k2EFzxWCXRB6ymeAkI1+G/qFyKHHJWcyjerhuvL/bfQrq8zeznV37SIUjCpRyXaIkjDkrRNLnhnFWVrGZvOQ+fcCkWeJmTkI8fVYISA209B/O53oZJ+xQ1c0BLtag3oNUFBRZa5m+xZ6s8pdvhft7C+McQSyNYdaSh7aQLlO+nIIuLApcB0DIEqGhPe86cUasTccZDcGaSflAqb0JxiQhMTlhfiTJfi6QTT/eU8zT53l3WJOg11pXDi0KKOWCigWi9qR7T7FdOUjIDZofXi+Dhg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eJs4dVXfGNOFSwSdxAMbo+XND9IuA9hVB/rmy5GXkCuZJjk31JXJuA9RoU769zPbmIpB/Jq/xwc80FACHr3kCpJnQq+r6i7K/pgiyMmuT2dK5ohNTY5RXtI0+dKhJ2eVuolRBq0rIoCw5kDECmqLXu+xgPDVH75Tu1Ih+E0vTqK3l+Xx5f3ua9bz5CmUNxs5cUQsO4SWwd9H/wzKanZcZ28AhQbqrVdkebXNc4kaSrRcWmrEjHEoYl27oTgjKdMVz6/+bI2yrUOjCyfKVh7QVaMuc11An+YoV09194EPWOqOk+Si5ipz4PJaFmBlpl/HMazpi2WECAAJIqz8Tk7hDw==
  • 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>, Jan Beulich <JBeulich@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Fri, 06 Oct 2023 15:28:06 +0000
  • Ironport-data: A9a23:tuVneq76ahFghd6h8gamdwxRtHDHchMFZxGqfqrLsTDasY5as4F+v mMWWzuEPaveZ2rxetokbtvgoBgOu8LdzdE2SgFrrSk3Hi5G8cbLO4+Ufxz6V8+wwm8vb2o8t plDNYOQRCwQZiWBzvt4GuG59RGQ7YnRG/ykTraCY3gtLeNdYH9JoQp5nOIkiZJfj9G8Agec0 fv/uMSaM1K+s9JOGjt8B5mr9lU355wehBtC5gZlPKgT4geH/5UoJMl3yZ+ZfiOQrrZ8RoZWd 86bpJml82XQ+QsaC9/Nut4XpWVTH9Y+lSDX4pZnc/DKbipq/0Te4Y5iXBYoUm9Fii3hojxE4 I4lWapc6+seFvakdOw1C3G0GszlVEFM0OevzXOX6aR/w6BaGpdFLjoH4EweZOUlFuhL7W5mq dc3EAA3PzC/rqHun7iiTcJsheZkFZy+VG8fkikIITDxK98DGMiGb4CUoNhS0XE3m9xEGuvYa 4wBcz1zYR/cYhpJfFAKFJY5m+TujX76G9FagAvN+exrvC6OnEooiOeF3Nn9I7RmQe1PmUmVv CTe9nnRCRAGLt2PjzGC9xpAg8eWx3+jCdxNSuLQGvhCnU+I5X4SKjstURjgu6SH22K0We5ZJ BlBksYphe1onKCxdfH/Qhm5rXisrhMaHd1KHIUS+AyLj6bZ/QudLmwFVSJaLswrstcsQj4n3 UPPmMnmbRRmtLCXQHSR7LDSszq2PSUXKkcJYSgZQU0O5NyLiIM8lBvLSv5qFaeniduzEjb1q xiRpS43nKkals8M/7+y5UzAmT+qqZnPQwMv5wPYGGmi62tRY4qoZJep6B7Y8OxHJ4aaSXGOu XEFn46V6+VmJbGAkjacBtoEGr6B7uyAdjbbhDZHPbMs6jCs8H6LZp1L7Xd1I0IBGt0fZTbjb UvXuAVQzJxeJn2naelweY3ZI9su5bjtE5LiTP+8UzZVSp14dQvC8CQwY0eVhjjpiBJ1yf55P oqHe8GxC3pcEb5g0De9W+Ya1/ks2zw6wmTQA5v8ynxLzIajWZJccp9dWHPmUwzzxPrsTNn9m zqHC/a39g==
  • Ironport-hdrordr: A9a23:+6om66vfqGl01dOG3khIM71o7skDstV00zEX/kB9WHVpm6yj+v xG/c5rsCMc7Qx6ZJhOo7+90cW7L080lqQFg7X5X43DYOCOggLBQL2KhbGI/9SKIVycygcy78 Zdm6gVMqyLMbB55/yKnTVRxbwbsaW6GKPDv5ag8590JzsaD52Jd21Ce36m+ksdfnggObMJUK Cyy+BgvDSadXEefq2AdwI4t7iqnaysqHr+CyR2fiIa1A==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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'm fine with waiting for Jan, in case he has more to add.

Thanks, Roger.



 


Rackspace

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