From nobody Mon Feb 9 18:46:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1600078765; cv=none; d=zohomail.com; s=zohoarc; b=beOKigqN4ahYcLf/ttGcj87+B0cob8CCMdWTfrKv1aZmLun0M9IrCfG8e56HNytEMqKBPfwC2dIV1wHji5TYmOkT2bSHniPx5Ffe14HViu3Fz6mlj0m/ObRBUJgRWja7i7xd86ytWsufbk9wwyc9bZILNjgzRdVbEnNpMOjoWCc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600078765; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=x3m6bsrwke5TcQte9tT9DpS+lVDJqAwZEjT0GLuDpVs=; b=bbkjZTiX07ZlJFFgJzGhQzGF8avG5JyVwmZz0HTroDQBW50i5wnd61iVOcKovOCurYdL2CR+IRWi7zA1J5lnuUSKXmMIzXks3qEVXB8jSyvYJKJdxq2nWK192m8MTAo0lt9Cbqi6Zf0fNUEDfwEr1tGUJZh/JtKEbTvCsoh4gZc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1600078765364824.8962722741151; Mon, 14 Sep 2020 03:19:25 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kHlZp-0004zS-1g; Mon, 14 Sep 2020 10:19:13 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kHlZn-0004yw-1D for xen-devel@lists.xenproject.org; Mon, 14 Sep 2020 10:19:11 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 4eb91705-1e92-4330-83ae-01ad02185968; Mon, 14 Sep 2020 10:19:00 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 57F37B265; Mon, 14 Sep 2020 10:19:15 +0000 (UTC) X-Inumbo-ID: 4eb91705-1e92-4330-83ae-01ad02185968 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Subject: [PATCH 9/9] lib: move sort code From: Jan Beulich To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , George Dunlap , Ian Jackson , Julien Grall , Wei Liu , Stefano Stabellini References: Message-ID: <8c086b99-9e0b-0469-b6d0-1190b072f109@suse.com> Date: Mon, 14 Sep 2020 12:18:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Build this code into an archive, to parallel bsearch(). Signed-off-by: Jan Beulich --- xen/common/Makefile | 1 - xen/lib/Makefile | 1 + xen/{common =3D> lib}/sort.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename xen/{common =3D> lib}/sort.c (100%) diff --git a/xen/common/Makefile b/xen/common/Makefile index 149466b473a8..efcfd4c34ecf 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -36,7 +36,6 @@ obj-y +=3D rcupdate.o obj-y +=3D rwlock.o obj-y +=3D shutdown.o obj-y +=3D softirq.o -obj-y +=3D sort.o obj-y +=3D smp.o obj-y +=3D spinlock.o obj-y +=3D stop_machine.o diff --git a/xen/lib/Makefile b/xen/lib/Makefile index 122eeb3d327b..33ff322b1655 100644 --- a/xen/lib/Makefile +++ b/xen/lib/Makefile @@ -6,3 +6,4 @@ lib-y +=3D ctype.o lib-y +=3D list-sort.o lib-y +=3D parse-size.o lib-y +=3D rbtree.o +lib-y +=3D sort.o diff --git a/xen/common/sort.c b/xen/lib/sort.c similarity index 100% rename from xen/common/sort.c rename to xen/lib/sort.c --=20 2.22.0