Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2371694rwl; Thu, 30 Mar 2023 09:22:25 -0700 (PDT) X-Google-Smtp-Source: AKy350ba1iZDCCR521VklZKUQDnVYbptuXkvofzc3E2UtjANikRxmhnC7roMxHDzdQ7pZZUnslCZ X-Received: by 2002:a17:903:110c:b0:1a2:1e96:600d with SMTP id n12-20020a170903110c00b001a21e96600dmr2886066plh.2.1680193344899; Thu, 30 Mar 2023 09:22:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680193344; cv=none; d=google.com; s=arc-20160816; b=BIMFkkxSaPMnFI5KP8jtzKr8snfF55eW+hZxgGI0mYmYk/t/oxg+yck93WwHsGwu7u 93KDnBSqjK4XQ9y/m26/JB+bepaspj6lFfDNpYb48bdDaqYMdTeO6FMbdcwXUFnwa280 FCaWi4CWSKzo/mkBGCIHjZ0fiI/Bxyr3a8APbMw4M+jfvbwE5045at3SCb+Fj5Ys3Y+M cGQ5MdyITeJuHhPknYU/r+RelpXsJsqHNOZWaYjTQOOCXqpFLemYWUEaTRwuckSiyh+j 8o3mp5i+067fbiQkxwoIO8CKVUKSG1Zuik/n89AF4SUKsQD5mQ3Qz9GIfAXMk4l0t4X+ 90kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/DyAZC+/gpTxCJoW2F/j7VlnCZ3k9Ngitz86Xlm4uL8=; b=meTq945cdLAZxhRz8ocgMzDOxuI6r82+wW4uCKks0Z+ZZeufYXHAhd/t2KZ2FoSI0M KZf2Q32iSgGdlNxKbAU+wJ85Oq8MSmlqcXeOBUT82/0ncQ3dF1jR5GWh2TuSBWr3vcoU aoeijHaIYeDHv5ogbQKcH9f641BZJOM7oCCy+vc+7Zha4fsOf7+LQmPYTafM/GJVeoRn UyaKe+n5rGxsTUUC8RFd/eRY3TPX18gTOrsS3Jlfpyuiuf8eewFhuxgegw7A1ks808lA TGyOCX7YLGoHSQK6CF495Q0BM4mLxtdcckiUcxgsLMxjA5T3Ve1zP4ui1yVArBjncq6X Rxhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ImGjAq/v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a170902d51200b001a2763a7ee2si4165538plg.406.2023.03.30.09.22.03; Thu, 30 Mar 2023 09:22:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ImGjAq/v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231696AbjC3QIF (ORCPT + 99 others); Thu, 30 Mar 2023 12:08:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231628AbjC3QH7 (ORCPT ); Thu, 30 Mar 2023 12:07:59 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 920EC9750 for ; Thu, 30 Mar 2023 09:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680192432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/DyAZC+/gpTxCJoW2F/j7VlnCZ3k9Ngitz86Xlm4uL8=; b=ImGjAq/vfgu9OJ6UsCoB5E9lsITQmAo2Uwh23JSIAtWsl6Qt1/uYA6SCcIw2P5qmo6MjMS t4RvxpeGOIiet0I/x7OVwUOzZ5y7YnvqVUrUxfzEAOx/sRrwgmyvR112fojmgLMbJ4jquT I48Bgh2Q5Z1/UDIcri2qlL9BRDzYvcM= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-340-9yfrOVvNODSqDwV4bD_0Qg-1; Thu, 30 Mar 2023 12:07:11 -0400 X-MC-Unique: 9yfrOVvNODSqDwV4bD_0Qg-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-57c67ea348eso12976106d6.1 for ; Thu, 30 Mar 2023 09:07:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680192425; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/DyAZC+/gpTxCJoW2F/j7VlnCZ3k9Ngitz86Xlm4uL8=; b=jcILiYd9VU7MqIOCqpGoiFp4vH3t0QOenrAIQQfFVpnzHVxJe19EwI2+vO4bsZUkJC hFPKXWMVCX7pkRr+H0AHTK37OLfchBjuRMZWzc0pa2sV3eKUq484qcyleA1wxSddV//4 JTxXpypnJz1kR1Tn7pY7hvMCI7ochxv0Qb3ypsgDUAxgkbY9uk4yPMWC7jR/ntZmiW49 fpIwxvT1jWm+wiPhkqKasKY5dZkDVH1tmO5V1VKt9/3cLPHNbJcRCCIbGZiF5IR7KBXG UJFSHMTHQJNkuKFV5UsgGgZYK24q113GMRCCrie3AC+LzLkWrPyfHF6Wc6CbOxfiIg9+ Kd8Q== X-Gm-Message-State: AAQBX9fgF0/0JVUAtVW2b9DC2bgGRGDJdwUX4z0FTa+umM/XmeCF3xdY vCWv8oI+tguDIUpNmvzaupW3GcppW9hEUTw0IgUJswVW2HZOl+XY9QRufTW+kqZu3PgknX0pWVJ Wy7URwAZM5DR91vVCGQT97mJ4 X-Received: by 2002:a05:6214:528f:b0:5a5:e941:f33d with SMTP id kj15-20020a056214528f00b005a5e941f33dmr3644486qvb.3.1680192425765; Thu, 30 Mar 2023 09:07:05 -0700 (PDT) X-Received: by 2002:a05:6214:528f:b0:5a5:e941:f33d with SMTP id kj15-20020a056214528f00b005a5e941f33dmr3644457qvb.3.1680192425523; Thu, 30 Mar 2023 09:07:05 -0700 (PDT) Received: from x1n.redhat.com (bras-base-aurron9127w-grc-40-70-52-229-124.dsl.bell.ca. [70.52.229.124]) by smtp.gmail.com with ESMTPSA id b17-20020ad45191000000b005dd8b93457fsm5467877qvp.23.2023.03.30.09.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 09:07:02 -0700 (PDT) From: Peter Xu To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: David Hildenbrand , Andrew Morton , Andrea Arcangeli , peterx@redhat.com, Axel Rasmussen , Mike Kravetz , Leonardo Bras Soares Passos , Mike Rapoport , Nadav Amit Subject: [PATCH 06/29] selftests/mm: Link vm_util.c always Date: Thu, 30 Mar 2023 12:07:00 -0400 Message-Id: <20230330160700.3106955-1-peterx@redhat.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230330155707.3106228-1-peterx@redhat.com> References: <20230330155707.3106228-1-peterx@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We do have plenty of files that want to link against vm_util.c. Just make it simple by linking it always. Signed-off-by: Peter Xu --- tools/testing/selftests/mm/Makefile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tools/testing/selftests/mm/Makefile b/tools/testing/selftests/mm/Makefile index 47516a78d447..b35f3eafde3c 100644 --- a/tools/testing/selftests/mm/Makefile +++ b/tools/testing/selftests/mm/Makefile @@ -105,17 +105,7 @@ TEST_FILES += va_128TBswitch.sh include ../lib.mk -$(OUTPUT)/cow: vm_util.c -$(OUTPUT)/khugepaged: vm_util.c -$(OUTPUT)/ksm_functional_tests: vm_util.c -$(OUTPUT)/madv_populate: vm_util.c -$(OUTPUT)/soft-dirty: vm_util.c -$(OUTPUT)/split_huge_page_test: vm_util.c -$(OUTPUT)/userfaultfd: vm_util.c -$(OUTPUT)/gup_test: vm_util.c -$(OUTPUT)/mrelease_test: vm_util.c -$(OUTPUT)/transhuge-stress: vm_util.c -$(OUTPUT)/ksm_tests: vm_util.c +$(TEST_GEN_PROGS): vm_util.c ifeq ($(MACHINE),x86_64) BINARIES_32 := $(patsubst %,$(OUTPUT)/%,$(BINARIES_32)) -- 2.39.1