All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Creekmore <jonathan.creekmore@gmail.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: xen-devel@lists.xenproject.org, keir@xen.org,
	Ian Campbell <ian.campbell@citrix.com>,
	Jan Beulich <JBeulich@suse.com>,
	David Vrabel <david.vrabel@citrix.com>
Subject: Re: [PATCH] x86: wrap kexec feature with CONFIG_KEXEC
Date: Tue, 01 Sep 2015 09:29:48 -0500	[thread overview]
Message-ID: <m2h9new6ub.fsf@Nebula.lan> (raw)
In-Reply-To: <55E584F8.2030304@citrix.com> (Andrew Cooper's message of "Tue, 1 Sep 2015 11:59:04 +0100")

Andrew Cooper <andrew.cooper3@citrix.com> writes:

> On 01/09/15 11:54, Jan Beulich wrote: 
>>>>> On 01.09.15 at 12:44, <andrew.cooper3@citrix.com> wrote: 
>>> On 01/09/15 11:36, Ian Campbell wrote: 
>>>> In general (i.e. not 100% consistently, I think) we have 
>>>> tended to avoid making things user-facing compile time 
>>>> options. Many of the existing CONFIG_* and HAVE_* are really 
>>>> about things which are arch dependent, or require specific 
>>>> porting to each arch etc. I think the KEXEC flag is one of 
>>>> those. 
>>>> 
>>>> This keeps the test matrix more reasonable (unlike 
>>>> e.g. Linux's Kconfig) and also helps us by ensuring that 
>>>> users are mostly running one of a small number of possible 
>>>> configs. 
>>>> 
>>>> I slightly fear that after Kexec you are going to want to 
>>>> strip out more and more stuff... 
>>> I for one welcome a Kconfig style approach.  We will never be 
>>> in the same order of magnitude of options as Linux, and it 
>>> will help to properly modularise the code. 
>> Indeed the idea was brought up a few times already, and I would 
>> also welcome such a step (accepting the downside of the larger 
>> test matrix). Not the least considering the "no shadow mode" 
>> and "big memory" build options that got introduced not so long 
>> ago. 
> 
> From a large attack surface point of view, support for 32bit ABI 
> on 64bit Xen is a welcome candidate for more controlled 
> environments. 
> 
> From a code volume point of view, having things like PV or 
> support configurable would be interesting. 

I am not interested in unnecessarily stripping out more and more 
code. However, I do want to reduce the number of features and 
backwards-compatibility code-paths that are compiled into my 
build. Areas like the 32-bit ABI on 64-bit Xen like Andrew 
mentioned or the legacy Xenlinux ABI are paths that I am 
interested in pruning. One area I have a preliminary patch for is 
selectively compiling individual scheduling algorithms in, giving 
me the option to compile out the experimental algorithms from my 
build.

Obviously, I can carry my own patchqueues for these types of changes, but
I would prefer to upstream them where possible.

  reply	other threads:[~2015-09-01 14:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 14:47 [PATCH] x86: wrap kexec feature with CONFIG_KEXEC Jonathan Creekmore
2015-08-27 15:22 ` Jan Beulich
2015-08-27 15:22 ` Andrew Cooper
2015-08-27 15:34   ` Jan Beulich
2015-08-27 15:39     ` Andrew Cooper
2015-08-27 15:27 ` David Vrabel
2015-08-27 15:35   ` Jan Beulich
2015-08-27 15:44   ` Jonathan Creekmore
2015-09-01 10:36     ` Ian Campbell
2015-09-01 10:44       ` Andrew Cooper
2015-09-01 10:54         ` Jan Beulich
2015-09-01 10:59           ` Andrew Cooper
2015-09-01 14:29             ` Jonathan Creekmore [this message]
2015-09-01 15:00               ` Jan Beulich
2015-09-01 17:55                 ` Jonathan Creekmore
2015-09-02  6:53                   ` Jan Beulich
2015-09-02 10:00                     ` Andrew Cooper

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=m2h9new6ub.fsf@Nebula.lan \
    --to=jonathan.creekmore@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=david.vrabel@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=keir@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.