public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Coywolf Qi Hunt <coywolf@gmail.com>
Cc: akpm@osdl.org, mel@csn.ul.ie, linux-kernel@vger.kernel.org,
	dino@in.ibm.com, jschopp@austin.ibm.com, Simon.Derr@bull.net,
	torvalds@osdl.org, haveblue@us.ibm.com
Subject: Re: [PATCH 1/4] cpusets oom_kill tweaks
Date: Thu, 1 Sep 2005 02:58:27 -0700	[thread overview]
Message-ID: <20050901025827.0e620dd9.pj@sgi.com> (raw)
In-Reply-To: <2cd57c900509010239670c07a2@mail.gmail.com>

Coywolf wrote:
> Why bother ...

The line length in characters was getting too long, the logic was
getting too convoluted, and the comment only applied to an unobvious
portion of the line.

Providing a name for the logical condition that a complicated
expression computes is one of the ways I find useful to make
code easier to read, and to resolve problems such as those above.

My primary goal in writing code is to minimize the time and effort
it will take a typical reader to properly understand the code.
I write first and foremost for humans.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401

  reply	other threads:[~2005-09-01  9:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01  9:08 [PATCH 0/4] cpusets mems_allowed constrain GFP_KERNEL, oom killer Paul Jackson
2005-09-01  9:08 ` [PATCH 1/4] cpusets oom_kill tweaks Paul Jackson
2005-09-01  9:39   ` Coywolf Qi Hunt
2005-09-01  9:58     ` Paul Jackson [this message]
2005-09-01 10:49       ` Coywolf Qi Hunt
2005-09-01  9:09 ` [PATCH 2/4] cpusets new __GFP_HARDWALL flag Paul Jackson
2005-09-01  9:09 ` [PATCH 3/4] cpusets formalize intermediate GFP_KERNEL containment Paul Jackson
2005-09-01  9:09 ` [PATCH 4/4] cpusets confine oom_killer to mem_exclusive cpuset Paul Jackson
2005-09-06  8:08 ` [PATCH 0/4] cpusets mems_allowed constrain GFP_KERNEL, oom killer Paul Jackson
2005-09-06 22:29   ` Paul Jackson

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=20050901025827.0e620dd9.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=Simon.Derr@bull.net \
    --cc=akpm@osdl.org \
    --cc=coywolf@gmail.com \
    --cc=dino@in.ibm.com \
    --cc=haveblue@us.ibm.com \
    --cc=jschopp@austin.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mel@csn.ul.ie \
    --cc=torvalds@osdl.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