Re: Question:Bsearch replace the search_extable implementations

From: Rusty Russell
Date: Tue Jul 16 2013 - 01:45:15 EST


anish singh <anish198519851985@xxxxxxxxx> writes:
> Hello Rusty,
>
> Right now I see so many places in the kernel
> where we open code binary search implementations
> such as search_extable implementations.
>
> http://lxr.free-electrons.com/ident?a=powerpc;i=search_extable
>
> Would it be ok to replace this with bsearch lib code?
>
> I am not trying to fix any problem nor I see
> any problem in current implementations but
> if we can replace the large amount of code
> would it not be a good reason to send a patch
> for this?

It should be fine, yes.

Thanks!
Rusty.
--
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/