[Hotplug_sig] RE: Hotplug CPU issue?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-05-02 at 07:50 -0700, Raj, Ashok wrote:
> Yes, cpu0 was not offlineable since inception. (both in x86 and x86_64)
> due to certain other dependencies that would need more cleanup in kernel
> code.
> 
> Even though you had an online file earlier, its was a no-op.. basically
> when you echo 1 to offline to cpu0, we just returned error and did
> nothing.

So that means that an implementation _can have an online file, even
though the corresponding cpu is not able to offline.  Sounds like having
an online file in sysfs isn't a sure indication of an "off-lineable" cpu
after all.

-Mary
> 
> Cheers,
> ashok raj
> - Open Source Technology Center
>    
> 
> >-----Original Message-----
> >From: Bryce Harrington [mailto:bryce@xxxxxxxx]
> >Sent: Monday, May 01, 2006 5:38 PM
> >To: Raj, Ashok
> >Cc: Mary Edie Meredith; Hotplug SIG; lhcs-devel@xxxxxxxxxxxxxxxxxxxxx
> >Subject: Hotplug CPU issue?
> >
> >On Tue, Apr 11, 2006 at 10:47:16AM -0700, Raj, Ashok wrote:
> >>
> >> >
> >> >   * Patch to fix the CPU issue we discovered with the
> lhcs_regression
> >> >     testsuite has been validated to fix the issue.
> >> >
> >>
> >>
> >> Yes this patch is now included in mainline.
> >
> >Hi ashok,
> >
> >Thanks, I verified this is now working in mainline kernels.  However
> >I've noticed a new issue.
> >
> >I've been running my CPU hotplug regression test against recent -rc,
> >-mm, and -git kernels, on a 2-cpu machine.  But I notice that while
> cpu1
> >can be onlined/offlined, cpu0 cannot.  This is because there is no
> >'online' file for cpu0:
> >
> > cl009 cpu # ls /sys/devices/system/cpu/cpu*
> > /sys/devices/system/cpu/cpu0:
> > topology
> >
> > /sys/devices/system/cpu/cpu1:
> > online  topology
> >
> >Why would I be seeing the online file only for cpu1?  Is x86 incapable
> >of offlining cpu0?
> >
> >Thanks,
> >Bryce
> 
-- 
Mary Edie Meredith
Initiative Manager
Open Source Development Labs
maryedie@xxxxxxxx
503-906-1942


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux