[Cbe-oss-dev] PROBLEM: Only 2 of 4 cores used on IBM Cell blades and no threads shown in spufs

Michael Ellerman michael at ellerman.id.au
Tue Apr 23 23:24:36 EST 2013


On Mon, Apr 22, 2013 at 06:44:13PM +0200, Dennis Schridde wrote:
> Hello!
> 
> 
> [1.] One line summary of the problem:
> .. no threads shown in spufs

So I think I've got this one fixed, this works for me, can you test it
please?

I'll send a proper patch in the morning.

cheers

diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c
index 3f3bb4c..35f77a4 100644
--- a/arch/powerpc/platforms/cell/spufs/inode.c
+++ b/arch/powerpc/platforms/cell/spufs/inode.c
@@ -99,6 +99,7 @@ spufs_new_inode(struct super_block *sb, umode_t mode)
 	if (!inode)
 		goto out;
 
+	inode->i_ino = get_next_ino();
 	inode->i_mode = mode;
 	inode->i_uid = current_fsuid();
 	inode->i_gid = current_fsgid();


More information about the cbe-oss-dev mailing list