All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org (Andrew Morton)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3.1-rc9] ARM: populate processor tag in proc-cpuinfo for Uni-processor.
Date: Thu, 13 Oct 2011 13:52:34 -0700	[thread overview]
Message-ID: <20111013135234.49f2d400.akpm@linux-foundation.org> (raw)
In-Reply-To: <20111013164822.GJ21648@n2100.arm.linux.org.uk>

On Thu, 13 Oct 2011 17:48:22 +0100
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:

> On Thu, Oct 13, 2011 at 04:43:10PM +0100, Srinivas KANDAGATLA wrote:
> > We recently encountered issue while running cyclesoak on ARM-uniprocessor
> > system, What we have noticed it that /proc/cpuinfo does not have
> > "processor" tag when its uniprocessor, which looked incorrect.
> > All the processors code in kernel do populate this tag for both uni and
> > multi processor systems.
> > 
> > This patch just add processor tag for cpuinfo for ARM uni-processor systems.
> 
> I wonder why cyclesoak doesn't use the sysconf(_SC_NPROCESSORS_ONLN)
> rather than implementing this functionality itself.
> 
> akpm?

eep, cyclesoak will soon be celebrating its eleventh birthday. 
sysconf(_SC_NPROCESSORS_ONLN) might have existed back in those days,
but I sure didn't know about it!

  reply	other threads:[~2011-10-13 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 15:43 [PATCH v3.1-rc9] ARM: populate processor tag in proc-cpuinfo for Uni-processor Srinivas KANDAGATLA
2011-10-13 16:48 ` Russell King - ARM Linux
2011-10-13 20:52   ` Andrew Morton [this message]
2011-10-13 21:03     ` Russell King - ARM Linux
2011-10-13 21:31       ` Andrew Morton

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=20111013135234.49f2d400.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-arm-kernel@lists.infradead.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.