All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Goldstein <cardoe@cardoe.com>
To: Jan Beulich <JBeulich@suse.com>,
	Jonathan Creekmore <jonathan.creekmore@gmail.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
	xen-devel@lists.xenproject.org,
	Dario Faggioli <dario.faggioli@citrix.com>,
	lars.kurth.xen@gmail.com
Subject: Re: [PATCH v4 2/5] build: Hook the schedulers into Kconfig
Date: Mon, 11 Jan 2016 10:31:43 -0600	[thread overview]
Message-ID: <5693D8EF.4080002@cardoe.com> (raw)
In-Reply-To: <5693DBA702000078000C5851@prv-mh.provo.novell.com>


[-- Attachment #1.1: Type: text/plain, Size: 2727 bytes --]

On 1/11/16 9:43 AM, Jan Beulich wrote:
>>>> On 11.01.16 at 16:10, <jonathan.creekmore@gmail.com> wrote:
>> Jan Beulich writes:
>>>>>> On 08.01.16 at 22:22, <jonathan.creekmore@gmail.com> wrote:
>>>> +config SCHED_CREDIT
>>>> +	bool "Credit scheduler support"
>>>> +	default y
>>>
>>> I continue to think that not making the primary scheduler configurable
>>> would be the better solution to the problems resulting from possibly
>>> all of them getting turned off.
>>
>> Except that is completely contrary to my goal with this patchset (being
>> able to compile in just the scheduler that I want to use). Yes, at the
>> moment, credit is the only non-experimental scheduler and will likely be
>> the one we choose. However, in the future, when credit2 and possibly
>> others are non-experimental, we may choose one of the other schedulers
>> and do not want to carry along credit in our build just because it is
>> the primary scheduler.
> 
> I think we need to separate what we want as "upstream", and what
> your internal intentions are. Any gap between that would need to be
> taken care of by private patches you'd have to carry.
> 
> As "upstream", I think not allowing the default scheduler to be turned
> off is quite reasonable an approach.
> 

My immediate reaction to this request is "special casing is bad" and
that's what this is straight away. Special cases make the code worse and
weaker as a whole.

There are no internal intentions here. Our internal intentions are to
use the credit scheduler. The intentions are for configurability of all
the options and not just some of the options. The goal here is to be
more inclusive of various downstreams and the goal of Kconfig being a
means by which to support that? The idea here was to encourage more
upstream participation and not less. I can hardly see how
configurability for an extreme corner case that's very hidden away from
the average user would be harmful to upstream.

There have been a good deal number of different downstreams that have
been encouraging of changes like this but it seems like you are
fundamentally opposed. Which is plainly discouraging to people to
attempt to engage upstream.

At some point it becomes damaging to the Xen upstream where users are
unable to get what they need/want out of Xen upstream without having to
become their own downstreams and patching. Another example of this can
be seen with modern Lenovo laptops that do not properly follow the EFI
spec. I've seen numerous patches rejected with the comment of "tell
Lenovo to fix their hardware". The result is users of Lenovo hardware
walk away feeling that Xen is broken not their hardware.

-- 
Doug Goldstein


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-01-11 16:31 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08 21:22 [PATCH v4 0/5] Allow schedulers to be selectable through Kconfig Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 1/5] build: Env var to enable expert config options Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 2/5] build: Hook the schedulers into Kconfig Jonathan Creekmore
2016-01-09 14:52   ` Andrew Cooper
2016-01-09 17:50     ` Jonathan Creekmore
2016-01-09 18:08       ` Andrew Cooper
2016-01-09 22:47         ` Jonathan Creekmore
2016-01-11 13:59         ` Jan Beulich
2016-01-11 14:07   ` Jan Beulich
2016-01-11 15:10     ` Jonathan Creekmore
2016-01-11 15:43       ` Jan Beulich
2016-01-11 16:31         ` Doug Goldstein [this message]
2016-01-11 16:49           ` Jan Beulich
2016-01-11 17:17             ` Doug Goldstein
2016-01-08 21:22 ` [PATCH v4 3/5] build: Alloc space for sched list in the link file Jonathan Creekmore
2016-01-09 18:25   ` Andrew Cooper
2016-01-09 22:46     ` Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 4/5] sched: Register the schedulers into the list Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 5/5] sched: Use the auto-generated list of schedulers Jonathan Creekmore
2016-01-09 18:28   ` Andrew Cooper
2016-01-09 22:43     ` Jonathan Creekmore

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=5693D8EF.4080002@cardoe.com \
    --to=cardoe@cardoe.com \
    --cc=JBeulich@suse.com \
    --cc=dario.faggioli@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=jonathan.creekmore@gmail.com \
    --cc=lars.kurth.xen@gmail.com \
    --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.