arla on Linux SMP
A.J.Martin
A.J.Martin at qmw.ac.uk
Fri Aug 14 17:03:53 CEST 1998
On 14 Aug 1998, Magnus Ahltorp wrote:
> > I have trivially added -D__SMP__ to the xfs Makefile, and it
> > appears to solved the problems I saw yesterday.
>
> Do you have a general solution as to when -D__SMP__ should be used and
> when it shouldn't? How do I know that the compilation is done for an
> SMP kernel?
>
cat /proc/cpuinfo | grep processor | wc -l
should normally give the number of processors (assuming /proc is
mounted). Maybe there is a better way?
cheers,
Alex Martin
More information about the Arla-drinkers
mailing list