Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbdHGG4C (ORCPT ); Mon, 7 Aug 2017 02:56:02 -0400 Received: from mga04.intel.com ([192.55.52.120]:30390 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbdHGG4B (ORCPT ); Mon, 7 Aug 2017 02:56:01 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,336,1498546800"; d="scan'208";a="296742889" Message-ID: <59880FA5.6040703@intel.com> Date: Mon, 07 Aug 2017 14:58:45 +0800 From: Wei Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, linux-mm@kvack.org, mst@redhat.com, mhocko@kernel.org, mawilcox@microsoft.com, akpm@linux-foundation.org, willy@infradead.org CC: aarcange@redhat.com, virtio-dev@lists.oasis-open.org, liliang.opensource@gmail.com, amit.shah@redhat.com, quan.xu@aliyun.com, cornelia.huck@de.ibm.com, pbonzini@redhat.com, yang.zhang.wz@gmail.com, mgorman@techsingularity.net Subject: Re: [PATCH v13 1/5] Introduce xbitmap References: <1501742299-4369-1-git-send-email-wei.w.wang@intel.com> <1501742299-4369-2-git-send-email-wei.w.wang@intel.com> In-Reply-To: <1501742299-4369-2-git-send-email-wei.w.wang@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 30 On 08/03/2017 02:38 PM, Wei Wang wrote: > From: Matthew Wilcox > > The eXtensible Bitmap is a sparse bitmap representation which is > efficient for set bits which tend to cluster. It supports up to > 'unsigned long' worth of bits, and this commit adds the bare bones -- > xb_set_bit(), xb_clear_bit() and xb_test_bit(). > > Signed-off-by: Matthew Wilcox > Signed-off-by: Wei Wang > --- > include/linux/radix-tree.h | 2 + > include/linux/xbitmap.h | 49 ++++++++++++++++ > lib/radix-tree.c | 139 ++++++++++++++++++++++++++++++++++++++++++++- > 3 files changed, 188 insertions(+), 2 deletions(-) > create mode 100644 include/linux/xbitmap.h > > diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h > index 3e57350..428ccc9 100644 > --- a/include/linux/radix-tree.h > +++ b/include/linux/radix-tree.h Hi Matthew, Could you please help to upstream this patch? Best, Wei