All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Jean Delvare <jdelvare@suse.de>,
	"Odzioba, Lukasz" <lukasz.odzioba@intel.com>
Cc: "Yu, Fenghua" <fenghua.yu@intel.com>,
	lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: coretemp: use list instead of fixed size array for temp data
Date: Fri, 17 Jul 2015 12:36:34 -0700	[thread overview]
Message-ID: <55A95942.4060605@roeck-us.net> (raw)
In-Reply-To: <20150717211103.66000d47@endymion.delvare>

Hi Jean,

On 07/17/2015 12:11 PM, Jean Delvare wrote:

>
> We could just drop NUM_REAL_CORES and use CONFIG_NR_CPUS instead, I
> would be fine with that. This lets people worried about memory
> consumption control it.
>
Unfortunately this won't work because the CPU ID is non-linear;
an 8-core system may have a CPI ID larger than 7.

Guenter


WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: Jean Delvare <jdelvare@suse.de>,
	"Odzioba, Lukasz" <lukasz.odzioba@intel.com>
Cc: "Yu, Fenghua" <fenghua.yu@intel.com>,
	lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: coretemp: use list instead of fixed size array for temp data
Date: Fri, 17 Jul 2015 19:36:34 +0000	[thread overview]
Message-ID: <55A95942.4060605@roeck-us.net> (raw)
In-Reply-To: <20150717211103.66000d47@endymion.delvare>

Hi Jean,

On 07/17/2015 12:11 PM, Jean Delvare wrote:

>
> We could just drop NUM_REAL_CORES and use CONFIG_NR_CPUS instead, I
> would be fine with that. This lets people worried about memory
> consumption control it.
>
Unfortunately this won't work because the CPU ID is non-linear;
an 8-core system may have a CPI ID larger than 7.

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  reply	other threads:[~2015-07-17 19:36 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-15 16:04 [PATCH] hwmon: coretemp: use list instead of fixed size array for temp data Lukasz Odzioba
2015-07-15 16:04 ` [lm-sensors] " Lukasz Odzioba
2015-07-15 21:07 ` Jean Delvare
2015-07-15 21:07   ` [lm-sensors] " Jean Delvare
2015-07-16 13:17   ` Odzioba, Lukasz
2015-07-16 13:17     ` [lm-sensors] " Odzioba, Lukasz
2015-07-17 16:55     ` Guenter Roeck
2015-07-17 16:55       ` [lm-sensors] " Guenter Roeck
2015-07-17 17:28       ` Odzioba, Lukasz
2015-07-17 17:28         ` [lm-sensors] " Odzioba, Lukasz
2015-07-17 18:01         ` Guenter Roeck
2015-07-17 18:01           ` [lm-sensors] " Guenter Roeck
2015-07-17 19:23           ` Odzioba, Lukasz
2015-07-17 19:23             ` [lm-sensors] " Odzioba, Lukasz
2015-07-17 21:33             ` Jean Delvare
2015-07-17 21:33               ` [lm-sensors] " Jean Delvare
2015-07-17 19:11         ` Jean Delvare
2015-07-17 19:11           ` [lm-sensors] " Jean Delvare
2015-07-17 19:36           ` Guenter Roeck [this message]
2015-07-17 19:36             ` Guenter Roeck
2015-07-17 21:25             ` Jean Delvare
2015-07-17 21:25               ` [lm-sensors] " Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2012-04-30 13:18 [PATCH] hwmon: coretemp: fix oops on cpu unplug Kirill A. Shutemov
2012-04-30 13:18 ` [lm-sensors] " Kirill A. Shutemov
2012-04-30 15:28 ` Guenter Roeck
2012-04-30 15:28   ` [lm-sensors] " Guenter Roeck
2012-04-30 16:19   ` Kirill A. Shutemov
2012-04-30 16:19     ` [lm-sensors] " Kirill A. Shutemov
2012-04-30 16:59     ` Guenter Roeck
2012-04-30 16:59       ` [lm-sensors] " Guenter Roeck
2012-05-01 15:20 ` Guenter Roeck
2012-05-01 15:20   ` [lm-sensors] " Guenter Roeck
2012-05-01 21:00   ` Kirill A. Shutemov
2012-05-01 21:00     ` [lm-sensors] " Kirill A. Shutemov
2012-05-01 21:25     ` Guenter Roeck
2012-05-01 21:25       ` [lm-sensors] " Guenter Roeck
2012-05-02 15:10       ` [PATCH] hwmon: coretemp: use list instead of fixed size array for temp data Kirill A. Shutemov
2012-05-02 15:10         ` [lm-sensors] " Kirill A. Shutemov
2012-05-03  5:29         ` R, Durgadoss
2012-05-03  5:29           ` R, Durgadoss
2012-05-03 10:04           ` Kirill A. Shutemov
2012-05-03 10:04             ` Kirill A. Shutemov
2012-05-03 11:18         ` [PATCH, v2] " Kirill A. Shutemov
2012-05-03 11:18           ` [lm-sensors] [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp Kirill A. Shutemov
2012-05-04  5:41           ` [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp data Guenter Roeck
2012-05-04  5:41             ` [lm-sensors] [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp Guenter Roeck
2012-05-04  6:46             ` [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp data Kirill A. Shutemov
2012-05-04  6:46               ` [lm-sensors] [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp Kirill A. Shutemov
2012-05-04 13:34               ` [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp data Guenter Roeck
2012-05-04 13:34                 ` [lm-sensors] [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp Guenter Roeck
2012-05-04 13:42                 ` [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp data Kirill A. Shutemov
2012-05-04 13:42                   ` [lm-sensors] [PATCH, v2] hwmon: coretemp: use list instead of fixed size array for temp Kirill A. Shutemov

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=55A95942.4060605@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=fenghua.yu@intel.com \
    --cc=jdelvare@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=lukasz.odzioba@intel.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 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.