Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4186677rwl; Mon, 3 Apr 2023 00:52:40 -0700 (PDT) X-Google-Smtp-Source: AKy350aF9iodkkLZrF1ZwHm0K1CXkkr+G8Y+0/T+sqLiszhAf0IAPzyRRpy0zLSvITgYuiVq9vaj X-Received: by 2002:a17:903:294c:b0:1a2:70ed:6cd9 with SMTP id li12-20020a170903294c00b001a270ed6cd9mr16999889plb.22.1680508360414; Mon, 03 Apr 2023 00:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680508360; cv=none; d=google.com; s=arc-20160816; b=DDhmxuBb5Xb0Gpn1HsHjsgtCfH1LKsa1M2ocd60mbTKr76d9Sz8HrCdeeijlZB54p2 zMqOtXBs44TgDXy2+vW11zIU2CJRmChd9kaFr0UXa5mHQflZq6U41Qy/hAhXfHfUGJ2d t5mIuSZoJhHY/2QvXP5BAABfU00G8HKzpq/f+lCazcOv3USIryFpcIvJqMzSh9c6TUO/ xwtlcgxrdHudUYGDs+cRlOl6T4aFbiPeRAqO7V5/EJOFNau67G0pHXXsc56al785sJ9K J3enUTfkRsfLY+RgchLP+uZxYIFMizKEUe6FslOD+LFPJRSe7IysotdvguwU16IXsxS5 K5CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=oL0VlAyPu/aM1OdlSXQQkhdK2GBY2lWcmoUVVdynghk=; b=RtPmzjTjkkRVC9GKEQFY/hy7hsUw1uxj8Ql4NZ/TginZHdAmF1nc5jxrNfuD/jZzOW kQq8hJVe3VrV7PLu2n/k6TV+N55upAjGJvVcAC2mx23oYyyio0T+JOupLg0L+3uePUZm hGlqxAC4NcYNSGfwBnFiW6Yoo3hFHaEHKJmOKkDhysmvzpXLPZo5i3W1Mk1Qmsa44x2/ FUpQh5RF3Hbk5Olc1AzlfWJNkI6azmF6ezFTgENNvpYw+OTC4Trv6Za59KqPmB4JeQ8W GEZFqVTHR+lHoQy7Hl8cObCD3EgzdD044DkHau9Jp4ZcrLLRDTwlBpt0Vi3VRCU+Od7w m0Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MWWbNeT0; 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 s12-20020a170902ea0c00b001a05e6e4b23si8272131plg.266.2023.04.03.00.52.29; Mon, 03 Apr 2023 00:52:40 -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=MWWbNeT0; 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 S231713AbjDCHvY (ORCPT + 99 others); Mon, 3 Apr 2023 03:51:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231320AbjDCHvX (ORCPT ); Mon, 3 Apr 2023 03:51:23 -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 E5C3C525B for ; Mon, 3 Apr 2023 00:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680508231; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oL0VlAyPu/aM1OdlSXQQkhdK2GBY2lWcmoUVVdynghk=; b=MWWbNeT0SnGBzWTmP1mq5gjQj4hlkrlSPaaZAT3hMc8p5FiyIso26NT2/f89fib4Sy6ASc Tl4KGP5DJo6inNTAtXwE+la82bFHYCGnayBp4yU6vn58Cim/k10G2tEZ8gWXjLGAIMGQI0 82ZUUjrqk0BcgwJzLxYvmSqwr5+NhfE= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-319-OzfE9TpMMgePhGlgDit9vg-1; Mon, 03 Apr 2023 03:50:24 -0400 X-MC-Unique: OzfE9TpMMgePhGlgDit9vg-1 Received: by mail-wm1-f72.google.com with SMTP id bh19-20020a05600c3d1300b003ee93fac4a9so15405442wmb.2 for ; Mon, 03 Apr 2023 00:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680508223; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oL0VlAyPu/aM1OdlSXQQkhdK2GBY2lWcmoUVVdynghk=; b=s/MIGFaqcOllKUVj5FhulCocttq+W2bwogbYQi0DOyoGLkTeFYJzGkOz/v8+OQtDaf q59DVWvEnSZ/x/pfMUSGNbpk7LyTNBN8gq4LFTBIt2UVZ7zDHhSjzmdoSWVngfwXq1U5 iaOqjs2fY9ITmMlfyWG9KGfLdtTh02taJZdk42yRhFeQp6xfPzbqK4jyPcr9dahQRzxI ywVr1czkXYwc0NELb4fy7JHsNT2zQf86RVtdndwS6Ab+9rPvuEYUodwqfmf9fWoA/dHw Rk2Mse18hVtuU7kxN7nQPlo297YGeEt9kJFJ9jlqstWkQZhWCnundq7wDigTeAaFQ5KJ GxmQ== X-Gm-Message-State: AAQBX9cxQLCHdgDcJfXPgCHaPYLMLggc95olatGwTJE+R1dat5ba0D7A 6m6hTJ6FTo+p19qbdlVXwaUn7GOaHJodxQ10fUFu3dDFHMsK7kDhQFwbYRHZh5osmRMbTQXqW60 rZ76kxmgK05EFKMe76iM2fSCC X-Received: by 2002:adf:ea10:0:b0:2da:e8ac:6986 with SMTP id q16-20020adfea10000000b002dae8ac6986mr28431054wrm.10.1680508223287; Mon, 03 Apr 2023 00:50:23 -0700 (PDT) X-Received: by 2002:adf:ea10:0:b0:2da:e8ac:6986 with SMTP id q16-20020adfea10000000b002dae8ac6986mr28431039wrm.10.1680508222971; Mon, 03 Apr 2023 00:50:22 -0700 (PDT) Received: from ?IPV6:2003:cb:c702:5e00:8e78:71f3:6243:77f0? (p200300cbc7025e008e7871f3624377f0.dip0.t-ipconnect.de. [2003:cb:c702:5e00:8e78:71f3:6243:77f0]) by smtp.gmail.com with ESMTPSA id g6-20020adfe406000000b002d743eeab39sm9025414wrm.58.2023.04.03.00.50.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 00:50:22 -0700 (PDT) Message-ID: Date: Mon, 3 Apr 2023 09:50:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH 04/29] selftests/mm: Merge util.h into vm_util.h Content-Language: en-US To: Peter Xu , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Andrew Morton , Andrea Arcangeli , Axel Rasmussen , Mike Kravetz , Leonardo Bras Soares Passos , Mike Rapoport , Nadav Amit References: <20230330155707.3106228-1-peterx@redhat.com> <20230330160649.3106916-1-peterx@redhat.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230330160649.3106916-1-peterx@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 30.03.23 18:06, Peter Xu wrote: > There're two util headers under mm/ kselftest. Merge one with another. It > turns out util.h is the easy one to move. > > When merging, drop PAGE_SIZE / PAGE_SHIFT because they're unnecessary > wrappers to page_size() / page_shift(), meanwhile rename them to psize() > and pshift() so as to not conflict with some existing definitions in some > test files that includes vm_util.h. > > Signed-off-by: Peter Xu > --- Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb