Re: Installation of Kernel -- uni vs smp

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

 



On Thu, 2003-05-22 at 12:34, Fong Vang wrote:
> Does anyone know which part of anaconda is responsible for installing both
> the uni and smp kernel on smp systems?  What's responsible for detecting the
> number of CPUs?  How does it do it?  With my own scripts, I normally use
> /proc/cpuinfo to detect the number of CPUs but what I've found out is that
> /proc/cpuinfo shows only 1 CPU when booting from a non-SMP kernel.  I'm just
> wondering if there's a better way to detect the true number of CPU
> regardless of the kernel.

There's code in anaconda that parses the mptable.  Look at isys/smp.c of
the anaconda source tree for all the gory details.  

Cheers,

Jeremy




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux