Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751594Ab3GPFov (ORCPT ); Tue, 16 Jul 2013 01:44:51 -0400 Received: from ozlabs.org ([203.10.76.45]:34674 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340Ab3GPFoX (ORCPT ); Tue, 16 Jul 2013 01:44:23 -0400 From: Rusty Russell To: anish singh Cc: Wedson Almeida Filho , Tim Abbott , linux-kernel-mail Subject: Re: Question:Bsearch replace the search_extable implementations In-Reply-To: References: User-Agent: Notmuch/0.15.2+81~gd2c8818 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Tue, 16 Jul 2013 14:29:17 +0930 Message-ID: <87zjtnyuai.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 26 anish singh 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/