public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question with maxcpus= parameter.
@ 2015-11-06  5:24 Zhenzhong Duan
  2015-11-06  6:57 ` Raj, Ashok
       [not found] ` <20151106161459.GB4538@char.us.oracle.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Zhenzhong Duan @ 2015-11-06  5:24 UTC (permalink / raw)
  To: rusty, ashok.raj, LKML; +Cc: Feng Jin, Konrad Rzeszutek Wilk

Hi Maintainers,

Recently we faced an cpu online issue with maxcpus= parameter.

We want to have 4 cpus onlined at bootup, test 3.8.13-stable on an 72 
cpus env with maxcpus=4, I found more cpus than 4 are onlined.
It's the udev scripts make them onlined. But below script exist for a 
long time.
ACTION=="add", KERNEL=="cpu[0-9]*", RUN+="/bin/bash -c 'echo 1 > 
/sys/devices/system/cpu/%k/online'"

maxcpu= parameter didn't take effect, so is this a kernel bug? Or that 
script should be removed?

Btw: 2.6.39 works fine, I checked udev log, seems CPU ADD event is only 
sent for 4cpus.
Why the difference between 2.6.39 and 3.8.13?

thanks
zduan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-11-09 17:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06  5:24 Question with maxcpus= parameter Zhenzhong Duan
2015-11-06  6:57 ` Raj, Ashok
2015-11-06  6:20   ` Zhenzhong Duan
     [not found] ` <20151106161459.GB4538@char.us.oracle.com>
2015-11-09  5:47   ` Zhenzhong Duan
2015-11-09  6:12     ` Yinghai Lu
2015-11-09  9:09       ` Zhenzhong Duan
2015-11-09 17:04         ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox