From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Xen-devel <xen-devel@lists.xenproject.org>,
Alejandro Vallejo <alejandro.vallejo@cloud.com>,
Julien Grall <jgrall@amazon.com>,
Shawn Anastasio <sanastasio@raptorengineering.com>,
Oleksii Kurochko <oleksii.kurochko@gmail.com>,
Henry Wang <Henry.Wang@arm.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>,
Julien Grall <julien@xen.org>
Subject: Re: [PATCH for-4.18 v5] xen/pdx: Make CONFIG_PDX_COMPRESSION a common Kconfig option
Date: Mon, 16 Oct 2023 15:40:19 +0200 [thread overview]
Message-ID: <ZS09Q8DU-1_ATw1j@macbook> (raw)
In-Reply-To: <ed43fb9f-590a-fd39-ba87-b45acddd19a9@suse.com>
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@cloud.com>
> >>>
> >>> 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.
next prev parent reply other threads:[~2023-10-16 13:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-06 14:44 [PATCH for-4.18 v5] xen/pdx: Make CONFIG_PDX_COMPRESSION a common Kconfig option Andrew Cooper
2023-10-06 15:09 ` Julien Grall
2023-10-06 15:27 ` Roger Pau Monné
2023-10-16 13:19 ` Jan Beulich
2023-10-16 13:40 ` Roger Pau Monné [this message]
2023-10-16 14:02 ` Jan Beulich
2023-10-06 16:01 ` Andrew Cooper
2023-10-09 11:30 ` Julien Grall
2023-10-16 13:22 ` Jan Beulich
2023-10-06 15:18 ` Roger Pau Monné
2023-10-10 7:58 ` Oleksii
2023-10-10 8:52 ` Andrew Cooper
2023-10-11 14:31 ` Oleksii
2023-10-11 17:25 ` Andrew Cooper
2023-10-12 1:05 ` Henry Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZS09Q8DU-1_ATw1j@macbook \
--to=roger.pau@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Henry.Wang@arm.com \
--cc=alejandro.vallejo@cloud.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=jgrall@amazon.com \
--cc=julien@xen.org \
--cc=oleksii.kurochko@gmail.com \
--cc=sanastasio@raptorengineering.com \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.