Am Montag, 24. März 2008 01:32:13 schrieb Zhiming Wu:
> ...
> > No its not. Only the kernel may be compiled only for only one CPU (not a
> > SMP-kernel) but thats not that dramatically. Simply recompile the kernel
> > with the Multiprocessor option switched on.
>
> By "Multiprocessor option", do you mean "SMP" option?
Yes, this one.

> ...
>
> If I want to make two tasks be able to run on two cores at the same
> time, is there a
> approach to achieve this? Such as:
> - Turn on the "SMP" option for the kernel.
Selecting SMP in the kernel config is all and enough what you can do.

> - Select x86_64 architecture when compiling the kernel.
Has nothing to do with using multiple processors.

> - Make application be capable of multi-threading when building them.
> (How to do this?
> Is this very complex because each application has its own way?)
Is quite complex, often impossible. Forget that one, there is nothing to do 
for us.
>


-- 
Thomas
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to