Re: [PATCH v2 2/3] rteval: Minor improvements to CpuList class

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

 




On Fri, 24 Nov 2023, Tomas Glozar wrote:

> pá 24. 11. 2023 v 16:27 odesílatel John Kacur <jkacur@xxxxxxxxxx> napsal:
> > Or just check cpu1 like we already do!
> >
> > John
> 
> That won't work on machines that have only one CPU though.
> 

Sure it will, because if a machine only has one CPU we assume that it is 
online. :)

if cpu0 has an online file because it can be turned off, we will use it.
if cpu0 doesn't have the online file, it can't be turned off.

Are online files configured? check cpu1, done.

John

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux