Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3346917imw; Mon, 11 Jul 2022 07:02:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uCX71JsP0Krn9VPZqVoYQi+8n0i4/MK0Nd0qW/PWgOPb1Eu7q4L293UgrzAeaDmHOcS3q+ X-Received: by 2002:a05:6402:1e8c:b0:43a:c57f:2cbb with SMTP id f12-20020a0564021e8c00b0043ac57f2cbbmr14735463edf.97.1657548125389; Mon, 11 Jul 2022 07:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657548125; cv=none; d=google.com; s=arc-20160816; b=r+JM5eK/Jjf/RHWDYXaE4jVVo3hvKkL8cORSqrgUKHC0wXoWezTsn0Z1MkXqBJJ2h7 H6VYopqbTus4TdBbJPNOHYUUpdKoqw+4aE1tZmV6OQ6HHg0Y8YnKngT6xQz1ZPkMs+ga Ts32kPH7Ad0IYEeOn2lpzDLFZn0fkB0ikOsMje1ZbeA52FxG/MMrGQejrZv1aGedZ+WA nUppECA7OWEci3aVKjz3g2H0L7mBBwYRd34FX4gbvWjef+MBZhEe4Oq9ptPlDX/EQgPS 1gQyvtjV1hqkSBSmTs2UdwzQm6z4uJJ+3nEykQcf9HKc9/XD9hsasPrS7YKWAjptUV8z Y9kA== 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=aE4NfC1H6uTSXnC9kdw86YADNW6bGnH63De3NmdMle8=; b=zwMsLEkA6RAXXlzl6pNT9640N8hWXhl+KGIj41gWjXOU1saLpyy4uzcGbbzFnifqTX XmL9NobcdE49R5wiZzCihUmz7dM4Xr8p13pQ6hGyyDW3IseYwiD3lRBLn6E4i4a+sdY8 XXRjnZXG3UbFJHh4sR5J3ruBKrnEVM6fUh3+qxxEUvAcW0GfZoKgZz4CgW/A3Ebu3I+Q oFbSidVJz0zBYKBAlK1zHFptgupKVaQSBkHO7+rJiD2JtRp31Di2EYX3m6fPxMZ692wb xBOhLoTnkQYjufl4UoAZWiGWqOMIsw4LYEKgWqIaH9RWH7KRQaejUyrEPZ0bwO09DJ9f jnlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iwGnZJ5m; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 dt16-20020a170907729000b006f3b19b0bb9si11805107ejc.89.2022.07.11.07.01.34; Mon, 11 Jul 2022 07:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=iwGnZJ5m; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 S229760AbiGKN4L (ORCPT + 99 others); Mon, 11 Jul 2022 09:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbiGKN4K (ORCPT ); Mon, 11 Jul 2022 09:56:10 -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 ESMTP id D40736069F for ; Mon, 11 Jul 2022 06:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657547768; 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=aE4NfC1H6uTSXnC9kdw86YADNW6bGnH63De3NmdMle8=; b=iwGnZJ5muhnMIngn+p2ClEYU5Y0mKylf0YCvwe1jhIpOOxbDtKy6HkHJWYYiuOimT7XWea /ZHoiiYqvOkeJKqU2+jTDL72SneMK6QsmF1y2COf8F+nF38J148WUxznXz6RzDrKIwbiCu XUU612GH+kVvhvDkD87iboRYFPgasyM= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-218-ZA9EaCwmOYujhPTVc2d59A-1; Mon, 11 Jul 2022 09:56:06 -0400 X-MC-Unique: ZA9EaCwmOYujhPTVc2d59A-1 Received: by mail-wm1-f69.google.com with SMTP id az38-20020a05600c602600b003a2dff426aeso3915104wmb.0 for ; Mon, 11 Jul 2022 06:56:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=aE4NfC1H6uTSXnC9kdw86YADNW6bGnH63De3NmdMle8=; b=Rc+3mqfFtU1V4/jk2bKZmx2lb9LnzVVphEltx2M5pqn7aAK5bdYw31YyHQpEWM2l8a bi1kSxNzO1AKqvqJWL92/yWWFWkjeYwJtZHQ5t3ukH1VH9jrn0SRwY1reZBF3kNahBSW C+UyerapriJrWXMvLb9b3JYeBrpjN1Yub8QXL5dDX6vGLwrVPE5Z80mlxGP/NGI9/CwO p+U9uTDs6jx+O0t9L7IvhV8komXePxWxeCogJirO+e/sH2zicPhd9dXu9q4f/2HBe/Q3 B0cRd7UPHI04OFC6lggIHpnLbbTLlA9dNln/ArvJFnPs2Fe3S11ipKS9iE1xDSm/KV01 1S3g== X-Gm-Message-State: AJIora+b8uyAdlJ/mKOJ9F75ItBWdx24afnTKX4XDTkIDpMQq0tvhllA GpE6fhRzuI+qdrKVsCd+pJvBRhHp77S04344WLKrBOcd9iIxVrCTf1y4VLmf66VXiXrGnANGq7h IxOydpjB+IQP+U+qB84ACHA== X-Received: by 2002:a5d:6e85:0:b0:21d:65ec:22d with SMTP id k5-20020a5d6e85000000b0021d65ec022dmr17110881wrz.435.1657547765483; Mon, 11 Jul 2022 06:56:05 -0700 (PDT) X-Received: by 2002:a5d:6e85:0:b0:21d:65ec:22d with SMTP id k5-20020a5d6e85000000b0021d65ec022dmr17110860wrz.435.1657547765208; Mon, 11 Jul 2022 06:56:05 -0700 (PDT) Received: from ?IPV6:2003:cb:c702:1400:c3:4ae0:6d5c:1ab2? (p200300cbc702140000c34ae06d5c1ab2.dip0.t-ipconnect.de. [2003:cb:c702:1400:c3:4ae0:6d5c:1ab2]) by smtp.gmail.com with ESMTPSA id p18-20020a05600c359200b003a2e2ba94ecsm5925143wmq.40.2022.07.11.06.56.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jul 2022 06:56:04 -0700 (PDT) Message-ID: <2ff85751-b0b6-eaa6-8338-2bf03ba6e973@redhat.com> Date: Mon, 11 Jul 2022 15:56:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 02/15] mm: move page zone helpers into new header-specific file Content-Language: en-US To: Felix Kuehling , Alex Sierra , jgg@nvidia.com Cc: linux-mm@kvack.org, rcampbell@nvidia.com, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, hch@lst.de, jglisse@redhat.com, apopple@nvidia.com, willy@infradead.org, akpm@linux-foundation.org References: <20220707190349.9778-1-alex.sierra@amd.com> <20220707190349.9778-3-alex.sierra@amd.com> <97816c26-d2dd-1102-4a13-fafb0b1a4bc3@redhat.com> <715fc1ae-7bd3-5b96-175c-e1cc74920739@amd.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <715fc1ae-7bd3-5b96-175c-e1cc74920739@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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-ext4@vger.kernel.org On 08.07.22 23:25, Felix Kuehling wrote: > On 2022-07-08 07:28, David Hildenbrand wrote: >> On 07.07.22 21:03, Alex Sierra wrote: >>> [WHY] >>> Have a cleaner way to expose all page zone helpers in one header >> What exactly is a "page zone"? Do you mean a buddy zone as in >> include/linux/mmzone.h ? >> > Zone as in ZONE_DEVICE. Maybe we could extend mmzone.h instead of Yes, I think so. And try moving as little as possible in this patch. > creating page_zone.h? That should work as long as it's OK to include > mmzone.h in memremap.h. I think so. -- Thanks, David / dhildenb