Re: Setting physical CPU for a task

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Tue Aug 06, 2013 at 23:47:58 +0300, Lluís Vilanova wrote:
> Adam Lackorzynski writes:
> [...]
> >> Still, L4::Scheduler::info says there's as many CPUs as the maximum number
> >> configured into Fiasco (not the number offered by QEMU). I'm just not sure if
> >> this should be considered a bug or a feature.
> 
> > Fiasco does not know what the maximum number of CPUs on that particular
> > machine will ever be, so it just says what it can support. Also, one has
> > to wait a bit until all CPUs are up because Fiasco does not wait to
> > start sigma0+moe until all CPUs are up (e.g. see migrate example).
> 
> Sorry, I just realized that what I misunderstood is the output of the migrate
> example, not the description of L4::Scheduler::info:
> 
> Maybe changing it to "Supports up to %ld CPUs" would be clearer, or instead (or
> in addition) calculating the number of detected/online CPUs.

True, I reworded it.


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.