netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jun Zhao <mypopydev@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: eric.dumazet@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH v2] ipv4 : igmp : optimize timer modify logic in igmp_mod_timer()
Date: Thu, 24 Nov 2011 09:27:39 +0800	[thread overview]
Message-ID: <1322098059.23419.13.camel@barry.localdomain> (raw)
In-Reply-To: <20111123.190428.1925341377347198202.davem@davemloft.net>

On Wed, 2011-11-23 at 19:04 -0500, David Miller wrote:
> From: Jun Zhao <mypopydev@gmail.com>
> Date: Thu, 24 Nov 2011 06:54:45 +0800
> 
> > On Wed, 2011-11-23 at 17:28 -0500, David Miller wrote:
> >> From: Jun Zhao <mypopydev@gmail.com>
> >> Date: Thu, 24 Nov 2011 00:38:42 +0800
> >> 
> >> > When timer is pending and expires less-than-or-equal-to new delay,
> >> > we need not used del_timer()/add_timer().
> >> > 
> >> > Signed-off-by: Jun Zhao <mypopydev@gmail.com>
> >> 
> >> You did not answer Eric's question, why are you optimizing this
> >> less-used code path?
> > 
> > 1). Oh, in the RFC 3376 $5.2, Page 23:
> 
> Then your commit message is terrible.
> 
> Your commit message, one the one hand, talks about optimizing the code.
> 
> Your explanation here talks about RFC conformance.
> 
> Your inconsistencies, and how you ignore important questions posed to
> you like Eric's (until I point it out to you) makes your work
> incredibly irritating to review and process.

I think Eric's means the v1 patch have a obvious bug about lock, I
didn't ignore it. :(

> 
> Your patch submissions need to be more well formed and your commit
> messages need to explain exactly what your goals are with your change
> and how those goals are being met by the patch you are proposing.
> 
> When we read "optimize timer modify logic" how the heck are we
> supposed to know what this change is actually doing?  Why should we
> think that we actually need your change?  How am we supposed to figure
> out that you are fixing an RFC conformance issue?
> 

I got it, Tks. Maybe the terrible commit message lead to the problem,
I just try to make this function more readability.

Yes, I need to describe the goals more accurately in the commit.

> I'm sorry, this patch submission is junk.  Don't send us junk.
> 

I got it.

      reply	other threads:[~2011-11-24  1:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 16:38 [PATCH v2] ipv4 : igmp : optimize timer modify logic in igmp_mod_timer() Jun Zhao
2011-11-23 22:28 ` David Miller
2011-11-23 22:54   ` Jun Zhao
2011-11-24  0:04     ` David Miller
2011-11-24  1:27       ` Jun Zhao [this message]

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=1322098059.23419.13.camel@barry.localdomain \
    --to=mypopydev@gmail.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).