From: Doug Goldstein <cardoe@cardoe.com>
To: Ian Campbell <ian.campbell@citrix.com>,
Jan Beulich <JBeulich@suse.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Tim Deegan <tim@xen.org>, Keir Fraser <keir@xen.org>,
xen-devel@lists.xen.org
Subject: Re: [PATCHv6] 01/28] build: import Kbuild/Kconfig from Linux 4.2
Date: Thu, 3 Dec 2015 10:04:51 -0600 [thread overview]
Message-ID: <56606823.4060300@cardoe.com> (raw)
In-Reply-To: <1449052750.4424.33.camel@citrix.com>
[-- Attachment #1.1: Type: text/plain, Size: 4416 bytes --]
On 12/2/15 4:39 AM, Ian Campbell wrote:
> On Tue, 2015-12-01 at 04:00 -0700, Jan Beulich wrote:
>> But not forking doesn't mean importing the whole directory. Some
>> Makefile adjustments will be necessary anyway, so removing some
>> of the frontends wouldn't make things worse. We indeed should
>> avoid editing files we import, but I don't see any bad in skipping
>> some of the files.
>
> It is much easier to resync based on entire directories (my preference, if
> possible) than to fiddle around picking up individual files, deciding if a
> "new" file is actually new or just excluded last time for some reason etc.
>
>> Reasons I'd like to avoid importing everything:
>> - no introduction of new build dependencies (one of the frontends
>> being written in C++ is the mildest form, requiring HOSTCXX to be
>> set),
>
> Only if someone wants to use it. I see no harm in having such a frontend
> optionally available to those who are willing to meet its prerequisites in
> their build environment, that certainly doesn't mean it has to work for
> everyone nor that we should add a C++ compiler and QT environment to the
> standard set of Xen build deps.
>
> I believe this is the policy in the Linux tree too.
>
>> - limiting the amount of new code that needs maintaining (no
>> matter how simple a re-import, it still is work, and hence the less
>> frequently we need to do this, the better; I assume you agree
>> that the likelihood for changes that we want/need to pull in
>> grows with the size of the code, and with what I propose the
>> import size would shrink by almost 50%), unless you or Doug
>> volunteer to look after this code on a regular basis,
>
> I disagree with the (implied) conclusion here that you would somehow be
> personally on the hook for these regular updates if we would import only
> 50% of this kconfig code base, nor that there would therefore be some sort
> of additional personal burden on you if we take the whole thing. We should
> be arranging that the maintenance burden is ~0 by rejecting diversion and
> making the reimport process as brain-dead as possible.
>
> Nonetheless if you don't want this to formally come under the remit of "THE
> REST" then I'd happy to see an entry for xen/tools/kconfig in the
> MAINTAINERS listing whoever wants to step up (Doug, Ian and/or myself).
>
> But I honestly don't think this code is going to require much maintenance
> at all on our end, apart from the very occasional reimporting of the whole
> thing from Linux when we notice some major missing feature we care about,
> which is the case that Ian and I are arguing we should optimise for.
>
> And having put aside suggestions such as renaming Kconfig to Xconfig
> throughout I also don't foresee making very many large changes to this code
> base at all, there's simply no reason to do so, at least none which can't
> be pushed back on. At worst I would expect to see generic Kconfig feature
> requests which should redirected upstream and the results reimported.
>
> I think this is all backed up by the fact that after this initial import
> the remainder of this series consists of:
>
> $ git fetch https://github.com/cardoe/xen kconfig_v6
> From https://github.com/cardoe/xen
> * branch kconfig_v6 -> FETCH_HEAD
> $ git diff --stat a28f2c4~1 FETCH_HEAD -- xen/scripts/kconfig
> xen/scripts/kconfig/.gitignore | 3 +++
> xen/scripts/kconfig/Makefile | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 80 insertions(+)
>
> (The first of which seems like it ought to be fixed upstream instead and it
> might even be possible to avoid the latter and therefore avoid the
> consequential renaming of the upstream Makefile => Makefile.linux by using
> xen/scripts/Makefile.kconfig somehow).
I've done the Makefile -> Makefile.kconfig you suggested. As far as the
.gitignore goes the Linux kernel ignores ALL .* files and explicitly
un-ignores dot-files they want to keep. So not sure if they would accept
a change upstream.
>
>> - avoiding code (scripts) that seem completely pointless in our
>> environment (e.g. streamline_config.pl).
>
> I think the overhead of a few extra files of marginal usefulness is far
> outweighed by being able to just resync a whole directory.
>
> Ian.
>
--
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
next prev parent reply other threads:[~2015-12-03 16:04 UTC|newest]
Thread overview: 93+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 17:51 [PATCHv6] 00/28] Kconfig conversion Doug Goldstein
2015-11-24 17:51 ` [PATCHv6] 01/28] build: import Kbuild/Kconfig from Linux 4.2 Doug Goldstein
2015-11-30 13:59 ` Jan Beulich
2015-11-30 15:34 ` Doug Goldstein
2015-11-30 15:42 ` Ian Jackson
2015-11-30 17:03 ` Jan Beulich
2015-11-30 17:16 ` Ian Jackson
2015-11-30 17:21 ` Ian Campbell
2015-12-01 11:00 ` Jan Beulich
2015-12-02 10:39 ` Ian Campbell
2015-12-03 16:04 ` Doug Goldstein [this message]
2015-11-30 15:55 ` Jan Beulich
2015-11-30 17:00 ` Doug Goldstein
2015-11-30 17:04 ` Ian Jackson
2015-11-30 17:10 ` Doug Goldstein
2015-11-30 17:19 ` Ian Campbell
2015-12-01 20:04 ` Doug Goldstein
2015-12-02 9:38 ` Jan Beulich
2015-12-02 14:34 ` Doug Goldstein
2015-12-02 9:47 ` Ian Campbell
2015-12-02 14:33 ` Doug Goldstein
2015-12-01 11:01 ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 02/28] build: build Kconfig and config rules Doug Goldstein
2015-11-30 14:36 ` Jan Beulich
2015-11-30 17:53 ` Doug Goldstein
2015-12-01 11:22 ` Jan Beulich
2015-12-03 0:34 ` Doug Goldstein
2015-12-03 8:57 ` Jan Beulich
2015-12-07 21:27 ` Doug Goldstein
2015-12-08 7:32 ` Jan Beulich
2015-12-08 14:16 ` Doug Goldstein
2015-12-08 14:25 ` Jan Beulich
2015-12-08 17:59 ` Doug Goldstein
2015-12-08 18:04 ` Andrew Cooper
2015-12-09 10:13 ` Ian Campbell
2015-11-24 17:51 ` [PATCHv6] 03/28] build: use generated Kconfig options for Xen Doug Goldstein
2015-11-30 14:45 ` Jan Beulich
2015-12-08 19:53 ` Doug Goldstein
2015-12-09 8:40 ` Jan Beulich
2015-12-09 20:34 ` Doug Goldstein
2015-12-09 20:53 ` Doug Goldstein
2015-12-10 11:45 ` Jan Beulich
2015-12-10 11:43 ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 04/28] build: convert HAS_PASSTHROUGH use to Kconfig Doug Goldstein
2015-11-30 14:50 ` Jan Beulich
2015-12-03 0:36 ` Doug Goldstein
2015-12-03 8:58 ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 05/28] build: convert HAS_DEVICE_TREE " Doug Goldstein
2015-11-24 17:51 ` [PATCHv6] 06/28] build: convert HAS_PCI " Doug Goldstein
2015-11-24 17:51 ` [PATCHv6] 07/28] build: convert HAS_NS16550 " Doug Goldstein
2015-11-30 14:55 ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 08/28] build: convert HAS_IOPORTS " Doug Goldstein
2015-11-30 14:56 ` Jan Beulich
2015-11-30 15:01 ` Jan Beulich
2015-12-03 0:39 ` Doug Goldstein
2015-12-03 9:06 ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 09/28] build: convert HAS_ACPI " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 10/28] build: convert HAS_VIDEO " Doug Goldstein
2015-11-30 15:03 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 11/28] build: convert HAS_VGA " Doug Goldstein
2015-11-30 15:04 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 12/28] build: convert HAS_CPUFREQ " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 13/28] build: convert HAS_GDBSX " Doug Goldstein
2015-11-30 15:06 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 14/28] build: convert HAS_PDX " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 15/28] build: convert HAS_KEXEC " Doug Goldstein
2015-11-30 15:10 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 16/28] build: convert HAS_ARM_HDLCD " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 17/28] build: convert HAS_CADENCE_UART " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 18/28] build: convert HAS_PL011 " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 19/28] build: convert HAS_EXYNOS4210 " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 20/28] build: convert HAS_OMAP " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 21/28] build: convert HAS_SCIF " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 22/28] build: convert HAS_EHCI " Doug Goldstein
2015-11-30 15:13 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 23/28] build: convert HAS_MEM_ACCESS " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 24/28] build: convert HAS_MEM_PAGING " Doug Goldstein
2015-11-30 15:16 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 25/28] build: convert HAS_MEM_SHARING " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 26/28] build: convert HAS_GICV3 " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 27/28] build: convert CONFIG_COMPAT " Doug Goldstein
2015-11-30 15:18 ` Jan Beulich
2015-12-03 12:52 ` Doug Goldstein
2015-12-03 12:54 ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 28/28] build: convert kexec options to CONFIG_KEXEC Doug Goldstein
2015-11-30 15:51 ` [PATCHv6] 00/28] Kconfig conversion Julien Grall
2015-11-30 17:05 ` Doug Goldstein
2015-11-30 17:13 ` Julien Grall
2015-12-03 3:02 ` Doug Goldstein
2015-12-03 8:29 ` Jan Beulich
2015-12-03 9:50 ` Ian Campbell
2015-12-03 11:00 ` Jan Beulich
2015-12-03 11:10 ` Ian Campbell
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=56606823.4060300@cardoe.com \
--to=cardoe@cardoe.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=ian.campbell@citrix.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.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.