linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Gerrit Huizenga <gh@us.ibm.com>
To: Chandra Seetharaman <sekharan@us.ibm.com>
Cc: Matthew Helsley <matthltc@us.ibm.com>,
	ckrm-tech@lists.sourceforge.net, linux-mm@kvack.org
Subject: Re: [ckrm-tech] Re: [PATCH 3/6] CKRM: Add limit support for mem controller
Date: Wed, 06 Apr 2005 11:35:40 -0700	[thread overview]
Message-ID: <E1DJFNM-0001nH-00@w-gerrit.beaverton.ibm.com> (raw)
In-Reply-To: Your message of Wed, 06 Apr 2005 09:48:56 PDT. <20050406164856.GA1425@chandralinux.beaverton.ibm.com>

On Wed, 06 Apr 2005 09:48:56 PDT, Chandra Seetharaman wrote:
> On Tue, Apr 05, 2005 at 01:29:45PM -0700, Matthew Helsley wrote:
> > On Tue, 2005-04-05 at 12:48, Chandra Seetharaman wrote:
> > > On Tue, Apr 05, 2005 at 12:01:45PM -0700, Dave Hansen wrote:
> > > > On Tue, 2005-04-05 at 11:26 -0700, Chandra Seetharaman wrote:
> > > > > On Tue, Apr 05, 2005 at 10:59:02AM -0700, Dave Hansen wrote:
> > > > > > On Tue, 2005-04-05 at 10:42 -0700, Chandra Seetharaman wrote:
> > > > > > > On Mon, Apr 04, 2005 at 07:10:50AM -0700, Dave Hansen wrote: 
> > > > > > > > What does "impl" stand for, anyway?  implied?  implicit? implemented?
> > > > > > > 
> > > > > > > I meant implicit... you can also say implied.... will add in comments to
> > > > > > > the dats structure definition.
> > > > > > 
> > > > > > How about changing the name of the structure member?  Comments suck.
> > > > > 
> > > > > you mean explicit name like implicit_guarantee ? if comments suck, IMHO,
> > > > > impl_guar is good enough an option for a field that holds implicit
> > > > > guarantee.
> > > > 
> > > > I think you possibly suffer from an a case of ibmersdontlikevowelsitis
> > > > which seems to be endemic to our company.  In case you're wondering,
> > > > Linus already found our missing vowels:
> > > > 
> > > > 	http://www.ussg.iu.edu/hypermail/linux/kernel/0110.1/1294.html
> > > 
> > > To my knowledge, 'i', 'u' and 'a' are vowels(impl_guar)....  May be I
> > > am wrong.. I think I 've relearn my alphabets.
> > 
> > 	While I agree with Dave's point about 'impl' being vague, I think he's
> > just being snarky about the vowels. :)
> > 
> > > BTW, Can you point me to the latest version ?
> > > 
> > > Seriously, I don't get your argument that 'impl_guar' doesn't imply
> > > implicit guarantee....(especially even after I agreed that I would add some
> > > comments)
> > 
> > 	I think Dave's point is "impl" is an ambiguous prefix. If the intent is
> > "implied" or "implicit" then the extra letters are well worth the
> > clarification they offer -- more so than any amount of comments since
> > the field name will get used in numerous places where the comment is not
> > likely to appear.
> 
> Adding 3 characters doesn't cost much... but... in this context, what
> else could one think "impl" mean ?

Okay - remember that people with no context will occasionally be reading
this code.  So, better names are, well, better.  Being ambiguous with
multiple meaning obviously leads to questions like these.  And for
every question asked, there are 9 more that weren't asked.  So, my
strong recommendation is make the names clear, consistent, and use
them as your first line of documentation defense.

Keep in mind that comments get out of date, where code tends not
to if it is actually used.  ;)  So, fixing the variable names now is
cheap.  This much debate about something indicates a problem that
should be fixed.

gerrit
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

      reply	other threads:[~2005-04-06 18:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-02  3:13 Chandra Seetharaman
2005-04-04 14:10 ` Dave Hansen
2005-04-05 17:42   ` Chandra Seetharaman
2005-04-05 17:59     ` Dave Hansen
2005-04-05 18:26       ` Chandra Seetharaman
2005-04-05 19:01         ` [ckrm-tech] " Dave Hansen
2005-04-05 19:48           ` Chandra Seetharaman
     [not found]             ` <1112732985.4200.1973.camel@stark>
2005-04-06 16:48               ` Chandra Seetharaman
2005-04-06 18:35                 ` Gerrit Huizenga [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=E1DJFNM-0001nH-00@w-gerrit.beaverton.ibm.com \
    --to=gh@us.ibm.com \
    --cc=ckrm-tech@lists.sourceforge.net \
    --cc=linux-mm@kvack.org \
    --cc=matthltc@us.ibm.com \
    --cc=sekharan@us.ibm.com \
    /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