Re: [patch] O(1) scheduler, -D1, 2.5.2-pre9, 2.4.17

Anton Blanchard (anton@samba.org)
Thu, 10 Jan 2002 10:15:14 +1100



> > With the patch things look much better (and the kernel boots on my
> > ppc64 machine :)
>
> hey it should not even compile, you forgot to send us the PPC definition
> of sched_find_first_zero_bit() ;-)

Good point, but its ppc64 so the patch would include all of
include/asm-ppc64 and arch/ppc64 :)

I expect most architectures have a reasonably fast find_first_zero_bit
so they can simply do:

static inline int sched_find_first_zero_bit(unsigned long *bitmap)
{
return find_first_zero_bit(bitmap, MAX_PRIO);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/