Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2422550rwd; Fri, 2 Jun 2023 09:10:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Vms3LZq1ywiKW5f01zuopTRM94d8IIY5JI0p3p29v4BK3DdIFNzqMy7w8KKSYU4fMmGrj X-Received: by 2002:a05:6358:4e11:b0:127:db0e:395a with SMTP id cf17-20020a0563584e1100b00127db0e395amr4899389rwb.7.1685722217692; Fri, 02 Jun 2023 09:10:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685722217; cv=none; d=google.com; s=arc-20160816; b=oEcIQaTY9vGza/m//ieOyXZkL6p6LZ4X56IPlWByOmXT1sokI5KYZ4c57ruJ7Cb5HA VBBeWyyQfCoe+ujCJkqoAEtXW53XccDF2rl6B535GBxGOwLRgLYEcWtsvRgFlkKwD0KO c1aFYAH6Z7wzzn0jf4f4LrrUHm4PUGeBNcCj+yytPZAM2nkHQa0kh3EOnrJSA6uUcytT RYAy9G2lUbFubGSsL92I0EggHujfrL+d8q+Df9QwAfkUVil2y19Ya9BlCzHh5HR2/f+J f6bsWGKjzWOLtmZjMdFVLzjdgpxKCe/9ncm7PdhZ3G3deGYIZNa33ViMJYNztgzPEzon 6zAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WluSeIuvtKhl0MvwyGqfFEArtzh7ptnhCjSpLHHHp9s=; b=qlqHcOcnKPO/q2NcIJsL5KdHriitEb54PpNIUgqRA8Uly9XaJt9RLnfqL9nCfru4/p snLflAhF9B02UEh/OyHkLyR19azJp9L7OBmnLiHXKWbDFQzT/JPeZ56lrJ4W/+lIw+SH f7nK/ZRDfXPMPDZ1K7tU1AXTr0AqUFh8y36QWVunRabBPxFmB4biJWAUY0kxKvI0LlDW +lR2XSopKQfPmvkpirLoI7agqHNmYnpfa4/mzU91NNjPpLFTb9T8o0b6ShZutIpqe0Pp YApcSidondQpfjRpFdcYDY0TdwUMX9eR5enuFMtUM3MZJZQmqE3kChtvQxoozu+iYF9B vtuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H1kjvdNk; 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 y192-20020a638ac9000000b0052856ce370asi1219798pgd.426.2023.06.02.09.10.01; Fri, 02 Jun 2023 09:10:17 -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=H1kjvdNk; 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 S236256AbjFBQAv (ORCPT + 99 others); Fri, 2 Jun 2023 12:00:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234446AbjFBQAp (ORCPT ); Fri, 2 Jun 2023 12:00:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BA4A132 for ; Fri, 2 Jun 2023 09:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685721599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WluSeIuvtKhl0MvwyGqfFEArtzh7ptnhCjSpLHHHp9s=; b=H1kjvdNkyEtyHyC0b5Ov7prZjNrzoZIkU5/S0XK8287Jml3A8EHX6ZdNMbiP3SOyXbCLpv JjnvncrL8ihwkw1tGFLo2dPCfCqgFRhdgVUY7EiAyJotnnWPRUss88Nh5aVOnZpnTCSVoE hZu3g1mZPL4MhOfGF5kE4DwbZ84+3hI= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-591-bkyaVGo1NCCTFev7UGI9zg-1; Fri, 02 Jun 2023 11:59:58 -0400 X-MC-Unique: bkyaVGo1NCCTFev7UGI9zg-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-3f6b20bc467so2564361cf.0 for ; Fri, 02 Jun 2023 08:59:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685721598; x=1688313598; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WluSeIuvtKhl0MvwyGqfFEArtzh7ptnhCjSpLHHHp9s=; b=QPizEtuhLOthad1nlTVoUSxhqZJaCWnbsbrIS7s16QNnrC45JvodOOc3rQP1EzdiFN QZVWMTMEbUVFiVwQb0b8/WGGyGeCxRzNFIASKxh+0tvR8EONW6NBfRyVFdA9ViBdIw62 a9aPf523upx5FBVCfxhhAYaEq49mOO8qw6IqsXt27Yy41yN9oyL6xwlvBOWvCVC7VgeB l5MzzqUc3qdqtXkGOmF0RiHqE5UfWGfd/O4NmTiuj2xExUTm3sMA9k4Gpq9TQcDYjvhp q5IdME/ELPLkTKrGgMWTAlU8doCkMuHSdpYefbyq5oTpkvKOZ57aKV3WsbiKoPyz/PnY OdLg== X-Gm-Message-State: AC+VfDyUgbhtsVlSs4rr6yrSWYxzYDvo/6uGHJv0WkpX8N/3iHXLxrKY JVqfOklH1JKSp5GVrsbPYvJawnCTmqHJ6lluCAdtGpJnK812P/kIIMJVVjTTG0dIBnLMVA/tRxN wvzZLf8Kb0Wi2Xi7CQkmMu+fs X-Received: by 2002:a05:622a:148e:b0:3f6:a9e9:1e96 with SMTP id t14-20020a05622a148e00b003f6a9e91e96mr16819348qtx.2.1685721597813; Fri, 02 Jun 2023 08:59:57 -0700 (PDT) X-Received: by 2002:a05:622a:148e:b0:3f6:a9e9:1e96 with SMTP id t14-20020a05622a148e00b003f6a9e91e96mr16819317qtx.2.1685721597584; Fri, 02 Jun 2023 08:59:57 -0700 (PDT) Received: from x1n (cpe5c7695f3aee0-cm5c7695f3aede.cpe.net.cable.rogers.com. [99.254.144.39]) by smtp.gmail.com with ESMTPSA id p15-20020ac8460f000000b003f7369c7302sm897702qtn.89.2023.06.02.08.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:59:56 -0700 (PDT) Date: Fri, 2 Jun 2023 11:59:55 -0400 From: Peter Xu To: John Hubbard Cc: Andrew Morton , David Hildenbrand , Shuah Khan , Nathan Chancellor , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, LKML Subject: Re: [PATCH 10/12] selftests/mm: move uffd* routines from vm_util.c to uffd-common.c Message-ID: References: <20230602013358.900637-1-jhubbard@nvidia.com> <20230602013358.900637-11-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230602013358.900637-11-jhubbard@nvidia.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Thu, Jun 01, 2023 at 06:33:56PM -0700, John Hubbard wrote: > This is where they belong, and this makes it cleaner to apply a > follow-up fix to the uffd builds. > > Signed-off-by: John Hubbard Thanks for further looking into this. I'm fine to move it over if you think proper, but just to mention I had those in vm_utils.h just because I left all uffd specific tests shared code in uffd-common.h, so my plan was uffd-common.h shouldn't be included in most test cases except uffd tests. I'm not sure whether we can just make your next patch of "ifndef.." into vm_utils.h to avoid the movement, or is it a must? Thanks, -- Peter Xu