Re: [PATCH 2/2] Rewrite jump_label.c to use binary search

From: Jason Baron
Date: Wed Sep 22 2010 - 14:15:55 EST


On Wed, Sep 22, 2010 at 01:56:48PM +0200, Andi Kleen wrote:
> >> + struct jump_entry *entry;
> >>
> >> + for (entry = jstart; entry < jstop; entry++)
> >> + if (entry->code <= (unsigned long)start &&
> >
> > start -> end ?
>
> I copied this from the original code too. I remember stumbling
> over it too. Yes it was probably wrong in the original too.
>

No...the original version had it correct, check the archive.

This bug was introduced in your version.

thanks,

-Jason

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/