[Cbe-oss-dev] [PATCH] spufs: remove harmful initialize code

Christoph Hellwig hch at lst.de
Mon Jul 23 21:41:55 EST 2007


On Mon, Jul 23, 2007 at 08:30:32PM +0900, Noguchi, Masato wrote:
> > Mainline also seem to lack the __set_bit(MAX_PRIO, spu_prio->bitmap);
> > just below the clear_bit loop so there might be more problems.
> 
> It's my change on the patch:
>   [CELL] spufs: use find_first_bit() instead of sched_find_first_bit()
> 
> Unlike sched_fird_first_bit(), find_first_bit() can receive an argument
> to restrict the maximum size to search. Thus, I thought that a guardian
> bit becomes unnecessary, and I removed it.

Ah, okay.  The patch should be fine then.



More information about the cbe-oss-dev mailing list