* Question:Bsearch replace the search_extable implementations
@ 2013-07-15 6:18 anish singh
2013-07-16 4:59 ` Rusty Russell
0 siblings, 1 reply; 3+ messages in thread
From: anish singh @ 2013-07-15 6:18 UTC (permalink / raw)
To: Rusty Russell; +Cc: Wedson Almeida Filho, Tim Abbott, linux-kernel-mail
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?
anish
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question:Bsearch replace the search_extable implementations
2013-07-15 6:18 Question:Bsearch replace the search_extable implementations anish singh
@ 2013-07-16 4:59 ` Rusty Russell
2013-07-16 5:51 ` anish singh
0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2013-07-16 4:59 UTC (permalink / raw)
To: anish singh; +Cc: Wedson Almeida Filho, Tim Abbott, linux-kernel-mail
anish singh <anish198519851985@gmail.com> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question:Bsearch replace the search_extable implementations
2013-07-16 4:59 ` Rusty Russell
@ 2013-07-16 5:51 ` anish singh
0 siblings, 0 replies; 3+ messages in thread
From: anish singh @ 2013-07-16 5:51 UTC (permalink / raw)
To: Rusty Russell; +Cc: Wedson Almeida Filho, Tim Abbott, linux-kernel-mail
On Tue, Jul 16, 2013 at 10:29 AM, Rusty Russell <rusty@rustcorp.com.au> wrote:
> anish singh <anish198519851985@gmail.com> 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.
great.Will be sending patch for this soon.
>
> Thanks!
> Rusty.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-16 5:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 6:18 Question:Bsearch replace the search_extable implementations anish singh
2013-07-16 4:59 ` Rusty Russell
2013-07-16 5:51 ` anish singh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.