From: Per Bilse <Per.Bilse@citrix.com>
To: Andy Lutomirski <luto@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
the arch/x86 maintainers <x86@kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>, Juergen Gross <jgross@suse.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"moderated list:XEN HYPERVISOR INTERFACE"
<xen-devel@lists.xenproject.org>
Subject: Re: [PATCH] Updates to Xen hypercall preemption
Date: Wed, 21 Jun 2023 19:05:41 +0000 [thread overview]
Message-ID: <333138f8-9fbe-be5b-d125-12c9d3ed3eda@citrix.com> (raw)
In-Reply-To: <7fbad052-4c4a-4a49-913d-ea836c180dc2@app.fastmail.com>
On 6/21/2023 5:27 PM, Andy Lutomirski wrote:
> This code is a horrible mess, with and without your patches. I think that, if this were new, there's no way it would make it in to the kernel.
Hi Andy, and many thanks for your frank assessments. Generally, this
is indeed somewhat old code, first introduced in 2015 by way of commit
fdfd811ddde3. There's more information in the notes to that, and it's
maybe worth noting that we're not trying to introduce anything new,
merely fix what various commits since then have broken.
> I propose one of two rather radical changes:
>
> 1. (preferred) Just delete all of it and make support for dom0 require either full or dynamic preempt, and make a dynamic preempt kernel booting as dom0 run as full preempt.
Personally I think that's a good idea; a machine so limited in resources
that a fully preemptible dom0 kernel would be a problem wouldn't work as
a Xen server anyway. Having said that, what to do about this isn't
really in my hands; the issues came to light because the kernel for
Citrix's XenServer product is being upgraded, and it was considered in
everybody's interest to upstream the fixes. I'll see what I can do.
Best,
-- Per
next prev parent reply other threads:[~2023-06-21 19:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-21 15:14 Per Bilse
2023-06-21 16:27 ` Andy Lutomirski
2023-06-21 19:05 ` Per Bilse [this message]
2023-06-21 23:42 ` Andy Lutomirski
2023-06-21 16:40 ` Peter Zijlstra
2023-06-21 19:19 ` Per Bilse
2023-06-21 20:04 ` Peter Zijlstra
2023-06-22 5:22 ` Juergen Gross
2023-06-22 8:26 ` Peter Zijlstra
2023-06-22 10:33 ` Juergen Gross
2023-06-22 11:15 ` Peter Zijlstra
2023-06-22 12:17 ` Juergen Gross
2023-06-22 16:39 ` Andy Lutomirski
2023-06-22 17:20 ` Juergen Gross
2023-06-24 15:19 ` Andy Lutomirski
2023-06-22 13:05 ` Andrew Cooper
2023-06-22 13:14 ` Peter Zijlstra
2023-06-22 13:35 ` Juergen Gross
2023-06-22 10:01 ` Per Bilse
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=333138f8-9fbe-be5b-d125-12c9d3ed3eda@citrix.com \
--to=per.bilse@citrix.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=oleksandr_tyshchenko@epam.com \
--cc=sstabellini@kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®