All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Zhongze Liu <blackskygg@gmail.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	Wei Liu <wei.liu2@citrix.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
	Jan Beulich <jbeulich@suse.com>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH v7] xen: Allow a default compiled-in command line using Kconfig
Date: Tue, 21 Mar 2017 10:30:16 +0100	[thread overview]
Message-ID: <1490088616.15340.16.camel@citrix.com> (raw)
In-Reply-To: <CAHrd_jr4xvjX+WB+_ov9kOuuL9AQJjMt2_sz4RoxBWZ6zMYL2w@mail.gmail.com>


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

On Tue, 2017-03-21 at 17:17 +0800, Zhongze Liu wrote:
:
> > On Tue, 2017-03-21 at 16:43 +0800, Zhongze Liu wrote:
> > > 
> Added 2 new config entries in common/Kconfig:
> > >     CMDLINE and CMDLINE_OVERRIDE
> > > Modified common/kernel.c:cmdline_parse().
> > > 
> > > The 2 new entries enable an embedded command line to be compiled
> > > in the hypervisor. CMDLINE depends on EXPERT = "y", and
> > > CMDLINE_OVERRIDE
> > > depends on CMDLINE != "".
> > > 
> > 
> > And those "1st and 2nd paragraphs" refers to, in this version, the
> > text
> > that goes from "Added 2 new..." to "...depends on CMDLINE != """,
> > which, for what is worth, I agree does not add much and should be
> > dropped.
> > 
> I thought these two paragraphs help people reading this message
> understand more clearly what has been touched and what has been
> done.
>
Right. And in fact, coming up with good changelogs is definitely not
the easiest part of preparing a patch. :-)

It's, therefore, quite difficult to come up with rules that can be
called truly general. In this specific case, all the information
conveyed by those paragraphs is already there, e.g., by looking at the
diffstat (during the review process) and at the code.

And the purpose of the commit message is not to explain *what* the code
does (or, let's say, not at this level of details), but other things,
such as:
 - why there were the need for the patch;
 - why the code does what it does in the specific way it does it. :-)

It's certainly not straightforward to draw a line, and even people that
 are doing this for ages not always get it right at the first time, and
there's always room for learning and improving... That's why we often
mention things like this. :-D

> Although, as you put it, this is really not a super big dea, I'll try
> to make
> my commit message more concise in my later patches.
> 
It's not necessarily a matter of length. Much more so a matter of
redundancy and of what kind of information is there.

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

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

  reply	other threads:[~2017-03-21  9:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21  8:43 [PATCH v7] xen: Allow a default compiled-in command line using Kconfig Zhongze Liu
2017-03-21  8:59 ` Dario Faggioli
2017-03-21  9:17   ` Zhongze Liu
2017-03-21  9:30     ` Dario Faggioli [this message]
2017-03-21 10:58       ` Zhongze Liu
2017-03-21  9:37 ` Jan Beulich
2017-03-21 11:10   ` Zhongze Liu

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=1490088616.15340.16.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=blackskygg@gmail.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.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.