Received: by 10.223.176.5 with SMTP id f5csp1988060wra; Sun, 4 Feb 2018 17:31:37 -0800 (PST) X-Google-Smtp-Source: AH8x224Fbe+6o6hG2+WlEX/4mGkmnyi7AC5Fo/PV+0W9B6s1osZa64Su3Pqhf0Gzar8/WDqbhekB X-Received: by 10.101.98.147 with SMTP id f19mr32759436pgv.100.1517794297332; Sun, 04 Feb 2018 17:31:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517794297; cv=none; d=google.com; s=arc-20160816; b=bPq3q+LzSeACWUMdjcQvAD5QbTJkIOSOMeKSidWoujNyjgLoeJl0ywXqE+BucQv2Hu xOBYcIlRnP7HLe6PSMVfb2Vh0QglpYIbQBHJQ8ZlwBoP0sVqr9x6FRsD4Jw3JuHvFFp/ SMUqt7baXfQuJp4MKe8XpBOE6wjp/+ghnly0hUofywLOqhOojSJXMRVZbB7aXqfYnrmU EUnqM6FxNIZ6kLkxz+FZgwsrrwwfyzeUYXdKrRDoTFFi4sLs5NdmXyHSxgfqwIOa8/Gl 8oUwpMV/n7FmQkBDF/I+gEmx4Hua3M8T6QnD5swO8HdhMBvyR5qSqi6K7TevaOp8rC/1 CR5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=kbiSOtFhVQbozJp1J8tTn/bCiSn6NaB04pl7GrHkx+I=; b=ZKpDkxfvAGp5gSf5PF/rku84qxALzrHc50SttfZ9l9E8dkCcTLRdkqOo6ysnVEp1FB R+OAUoIJ1Ec9d2TfGU7SOgSyg2yiPcbtqVYnvJQ6wWqamVFi6dG53VEVam6qdItMHY2R aTAjG7Od0tt7sbzrcQohPE1yvA1JM3+DX8sXOiG5naAV4BjN6RQfgPAfyuT+Ef+9rNun wMcV9bcsngxYdS2aC7EN+ICbqwPezYcSjibm1JDbB9LKGkUqqPam2bOeTNJ1FqFUrjL2 Ej4u99VJnJyMLI3EUFKcq0/LgX6A9zsGtL7n7K+RgDqVojqoc8X8mfJAmmJVwgV/7AMa 5mEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69-v6si5982502pla.156.2018.02.04.17.31.23; Sun, 04 Feb 2018 17:31:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752171AbeBEB3z (ORCPT + 99 others); Sun, 4 Feb 2018 20:29:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:43385 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752370AbeBEB2C (ORCPT ); Sun, 4 Feb 2018 20:28:02 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AC40CAAB9; Mon, 5 Feb 2018 01:27:59 +0000 (UTC) From: Davidlohr Bueso To: akpm@linux-foundation.org, mingo@kernel.org Cc: peterz@infradead.org, ldufour@linux.vnet.ibm.com, jack@suse.cz, mhocko@kernel.org, kirill.shutemov@linux.intel.com, mawilcox@microsoft.com, mgorman@techsingularity.net, dave@stgolabs.net, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Davidlohr Bueso Subject: [PATCH 01/64] interval-tree: build unconditionally Date: Mon, 5 Feb 2018 02:26:51 +0100 Message-Id: <20180205012754.23615-2-dbueso@wotan.suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180205012754.23615-1-dbueso@wotan.suse.de> References: <20180205012754.23615-1-dbueso@wotan.suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Davidlohr Bueso In preparation for range locking, this patch gets rid of CONFIG_INTERVAL_TREE option as we will unconditionally build it. Signed-off-by: Davidlohr Bueso --- drivers/gpu/drm/Kconfig | 2 -- drivers/gpu/drm/i915/Kconfig | 1 - lib/Kconfig | 14 -------------- lib/Kconfig.debug | 1 - lib/Makefile | 3 +-- 5 files changed, 1 insertion(+), 20 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index deeefa7a1773..eac89dc17199 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -168,7 +168,6 @@ config DRM_RADEON select HWMON select BACKLIGHT_CLASS_DEVICE select BACKLIGHT_LCD_SUPPORT - select INTERVAL_TREE help Choose this option if you have an ATI Radeon graphics card. There are both PCI and AGP versions. You don't need to choose this to @@ -189,7 +188,6 @@ config DRM_AMDGPU select HWMON select BACKLIGHT_CLASS_DEVICE select BACKLIGHT_LCD_SUPPORT - select INTERVAL_TREE select CHASH help Choose this option if you have a recent AMD Radeon graphics card. diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig index dfd95889f4b7..520a613ec69f 100644 --- a/drivers/gpu/drm/i915/Kconfig +++ b/drivers/gpu/drm/i915/Kconfig @@ -3,7 +3,6 @@ config DRM_I915 depends on DRM depends on X86 && PCI select INTEL_GTT - select INTERVAL_TREE # we need shmfs for the swappable backing store, and in particular # the shmem_readpage() which depends upon tmpfs select SHMEM diff --git a/lib/Kconfig b/lib/Kconfig index e96089499371..18b56ed167c4 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -362,20 +362,6 @@ config TEXTSEARCH_FSM config BTREE bool -config INTERVAL_TREE - bool - help - Simple, embeddable, interval-tree. Can find the start of an - overlapping range in log(n) time and then iterate over all - overlapping nodes. The algorithm is implemented as an - augmented rbtree. - - See: - - Documentation/rbtree.txt - - for more information. - config RADIX_TREE_MULTIORDER bool diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6088408ef26c..c888f03569e7 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1716,7 +1716,6 @@ config RBTREE_TEST config INTERVAL_TREE_TEST tristate "Interval tree test" depends on DEBUG_KERNEL - select INTERVAL_TREE help A benchmark measuring the performance of the interval tree library diff --git a/lib/Makefile b/lib/Makefile index a90d4fcd748f..1c1f8e3ccaa8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -39,7 +39,7 @@ obj-y += bcd.o div64.o sort.o parser.o debug_locks.o random32.o \ gcd.o lcm.o list_sort.o uuid.o flex_array.o iov_iter.o clz_ctz.o \ bsearch.o find_bit.o llist.o memweight.o kfifo.o \ percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o \ - once.o refcount.o usercopy.o errseq.o bucket_locks.o + once.o refcount.o usercopy.o errseq.o bucket_locks.o interval_tree.o obj-$(CONFIG_STRING_SELFTEST) += test_string.o obj-y += string_helpers.o obj-$(CONFIG_TEST_STRING_HELPERS) += test-string_helpers.o @@ -84,7 +84,6 @@ obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o obj-$(CONFIG_BTREE) += btree.o -obj-$(CONFIG_INTERVAL_TREE) += interval_tree.o obj-$(CONFIG_ASSOCIATIVE_ARRAY) += assoc_array.o obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o obj-$(CONFIG_DEBUG_LIST) += list_debug.o -- 2.13.6