[Cbe-oss-dev] [PATCH 1/6] cell: add per BE structure with info about its SPUs

Arnd Bergmann arnd at arndb.de
Tue Feb 13 03:11:00 EST 2007


On Monday 12 February 2007 02:10, Andre Detsch wrote:
> Addition of a spufs-global "be_info" array. Each entry contains information
> about one BE node, namelly:
> * list of available spus (both free and busy spus are in this list);
> * list of free spus (substituting the static spu_list from spu_base.c)
> * number of spus;
> * number of isolated spus.

Make sure you don't confuse the numbers here. If the array is inside of
spu_base, it probably should not care how many spus are isolated, since that
is a concept of the (higher-level) spufs.

The number of SPUs on the other hand includes both SPUs that are owned
by spufs and those that might be used by another subsystem in the kernel.
We don't currently have any other users besides spufs, but the interfaces
are there.

Why do you even care about isolated spus in the first place?

	Arnd <><



More information about the cbe-oss-dev mailing list