public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Namhyung Kim <namhyung@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] percpu: use INT_MAX as sentinel value of unit_map
Date: Tue, 10 Aug 2010 17:07:16 +0200	[thread overview]
Message-ID: <4C616B24.3070202@kernel.org> (raw)
In-Reply-To: <1281452283-2911-1-git-send-email-namhyung@gmail.com>

On 08/10/2010 04:58 PM, Namhyung Kim wrote:
> unit_map is a pointer to int so it would be more reasonable to use INT_MAX
> as sentinel value.
> 
> Signed-off-by: Namhyung Kim <namhyung@gmail.com>

Hmmm... yeah unit_map used to be uint.  I'd much prefer -1 (which
would actually result in the same code BTW) over INT_MAX tho.

Thanks.

-- 
tejun

      reply	other threads:[~2010-08-10 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 14:58 [PATCH] percpu: use INT_MAX as sentinel value of unit_map Namhyung Kim
2010-08-10 15:07 ` Tejun Heo [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=4C616B24.3070202@kernel.org \
    --to=tj@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=namhyung@gmail.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