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

Re: [PATCH v3 4/4] pdx: Add CONFIG_PDX_COMPRESSION as a common Kconfig option


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 25 Sep 2023 11:59:49 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=62zxQaHEZJ7GCGTQCjS8W89lWp3d9IoPO5mQ5kZRgHA=; b=jVaMU3qn5+kct1nHrWMci++v9lPLVk2pykvo5sqyyPHJ8oub/ucKX9Z+apF3Dx7T1ouPmLDjBonM0WJKVeYRptF+mG2j0g3uEiSgpplCAPZIUmBBN24fgKFaNN6dIrgifupDmLVSNLIptTdNVUDKl+lNOUy8/mMWNIACT2wHjSmpJWR3KvLDMLjRkHufA7uas08hxok1Fp1wyM08pREwQjER/Fr/VtUmVU+L+pag7VIJfM+BX3fQdFhORDXZX7OKqhcmoFeXtb1BpzOTmScpBYE5SgLQQVVcgRZx+IUoHJUPXvwV12U9Cw2xK6OaGI+McL1kjLnx9BWIbNL2NPzTEw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LN5JWjmAHP+6V1zNTuVXHet5Yzp04FALyUScLVoPQHybrekdR0+QZfksOYYw2CTVKV/anGWi2Rdibv+yJ1BEKmTXKZ8T3LVCr3LTmCIka6z5NzfYsrgep5rONlfK28VAtMe61mycVTaUZAcWN06YVVWDt1AEh8Gj9Qpoe50ZmWQzIBBt0dPfY0CgRIVbZlObqZNUMquRpqVZriHCvpSV7XUisTue989WZ9cXU8iGUB3TL/LJHdLcUH2LHveJ+PyO2sM/KtveCgANHN7/v5UWyhlOyyVX7XdmJNuQfxY0qr19nLM9OPqZQ2A0luGFFNaW/+mMKetw6epGOvD9bEIzmg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 25 Sep 2023 09:59:58 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 25.09.2023 11:46, Roger Pau Monné wrote:
> On Mon, Sep 25, 2023 at 08:36:03AM +0200, Jan Beulich wrote:
>> On 22.09.2023 22:03, Andrew Cooper wrote:
>>> On 08/08/2023 2:02 pm, Alejandro Vallejo wrote:
>>>> --- a/xen/common/Kconfig
>>>> +++ b/xen/common/Kconfig
>>>> @@ -23,6 +23,16 @@ config GRANT_TABLE
>>>>  
>>>>      If unsure, say Y.
>>>>  
>>>> +config PDX_COMPRESSION
>>>> +  bool "PDX (Page inDeX) compression support" if EXPERT
>>>
>>> This still needs hiding on x86.  The minimal hack for 4.18 is "if EXPERT
>>> && !X86".
>>
>> If you insist on complete hiding and I insist on allowing it to be used by
>> people who want to play with exotic hardware, then this won't go anywhere.
>> I think I've come far enough with accepting a compromise, and so I think
>> it's your turn now to also take a step from your original position.
> 
> Just because I'm not familiar with this, is there any x86 hardware
> that has such sparse memory map that would benefit from PDX?
> 
> Wouldn't anyone doing bring up on such exotic hardware also likely need to
> perform other adjustments to Xen, and hence commenting out the !X86 in
> Kconfig be acceptable? (we would likely make it selectable at that
> point if such platforms exist).

As mentioned before, the reason PDX was introduced was to actually make Xen
work on such exotic x86 hardware. While I can't tell for sure, that hardware
probably has never made it into production. Yet still things were known to
work there after the original adjustments, so no, I would not expect other
adjustments to be necessary (provided there was no bitrot).

Jan



 


Rackspace

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