From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68EE5C433EF for ; Sun, 3 Jul 2022 13:28:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CB7056B0072; Sun, 3 Jul 2022 09:28:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C67406B0073; Sun, 3 Jul 2022 09:28:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B562A6B0074; Sun, 3 Jul 2022 09:28:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id A61BE6B0072 for ; Sun, 3 Jul 2022 09:28:45 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 781F734E0F for ; Sun, 3 Jul 2022 13:28:45 +0000 (UTC) X-FDA: 79645868610.02.EFBAE0A Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by imf11.hostedemail.com (Postfix) with ESMTP id CB9E840063 for ; Sun, 3 Jul 2022 13:28:42 +0000 (UTC) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-31c8a1e9e33so8310667b3.5 for ; Sun, 03 Jul 2022 06:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eYMN5bizTtcULBqpsEbwu/1tn9qda74xo65q/h7io+0=; b=VkociPAPDlEULMJCGV9HrpDoD1E1zEFs9vqjOjvF0dU6M1jvJdGsjJKeFTZLwgMHHg c2XJBV0DNU3UzONqdRmaMBPP1q/UtV66TpMwXbWegEfrqIZFI5P/cdCIp+H2f6FxE1he Z3lVtEBh9UrAuLUbSGt4Grgok87SJ5ScK3+rC2Gc2r+j0SKgu+4hEPixV5/7DWT4Ib9D /474F63C83vduM5xmvR+UtKKWBfhwRdN5LXR9Hz+qGnzfHSAIRlpdEil25JmaL1uWSGF Aj48iPL59aQqSHm8Q2HpT3Z0xBre9gt8mS1KOetyX0nWWRp9s5WNqI8By4wAV0j09z4x ezIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eYMN5bizTtcULBqpsEbwu/1tn9qda74xo65q/h7io+0=; b=cGoKv6kCIMb0vl7QJHMPAvBDcSF0ndvfKOlrwjvjZG3m/VIXBaoSCzQJhsILoCjrOA XVXtFPg8Two1xrLjTj0S7lIKh6+cMQfsSBew0drjbrwGIHYXF1jd/US3ykoAt1gpHQKw Y1RZLrq0XPxVyF1gCTmJt7RQgoDSrvmkobc4YNToBf2NUvlcXZrQiHOAiHUmyvy1rduj 045Jl62fFmaIBkAtYKOheL+v8tzjZRnwtIZNYDsHyEH8oK11g28VHlPt7GMa+VDGFQLx PSxEt9r4oR2bkT16mCwKdyQkU2bnzpKwEd82/WLXMIpOwAvLY3i5Vh5z1+CNhG7OiFWm u9hQ== X-Gm-Message-State: AJIora/DNGBzBi2uTuzju4apAOohw9O+6E9qrVpidWX4jD0pcDygfZ9X VrRl11LfX616RSb837kh8LstN77ZoEJyCCf4TXD/7Q== X-Google-Smtp-Source: AGRyM1vzkuCIleDFTEEGyZB3RmZ/8wyZvp85m+Ge3X1hQ4GIsQYG8riPQGPcouOCoQZJdDDhv6WChDJfl9g6mraodNA= X-Received: by 2002:a0d:cbd8:0:b0:31c:7dc5:120c with SMTP id n207-20020a0dcbd8000000b0031c7dc5120cmr8603319ywd.448.1656854922029; Sun, 03 Jul 2022 06:28:42 -0700 (PDT) MIME-Version: 1.0 References: <20220630084124.691207-1-linus.walleij@linaro.org> <20220701160004.2ffff4e5ab59a55499f4c736@linux-foundation.org> In-Reply-To: <20220701160004.2ffff4e5ab59a55499f4c736@linux-foundation.org> From: Linus Walleij Date: Sun, 3 Jul 2022 15:28:30 +0200 Message-ID: Subject: Re: [PATCH 0/5] mm: Pass pointers to page accessors To: Andrew Morton Cc: linux-mm@kvack.org, Arnd Bergmann Content-Type: text/plain; charset="UTF-8" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656854922; a=rsa-sha256; cv=none; b=sFlry/diDD1X8Jk/ILHFIfEe5tw5nRAlUVbTtPH7FLMeFFmUJELrR5Sgz6U+wTvMQUnH73 qxEx6ahMo2R42a5FGXAMDnKNcDcOgEW83Yybny6W2kf240fOQfwSYmoqM66vpu44OJn9oq 99WI16728/a9HXv1vquwpZwA6wMP8W4= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=VkociPAP; spf=pass (imf11.hostedemail.com: domain of linus.walleij@linaro.org designates 209.85.128.179 as permitted sender) smtp.mailfrom=linus.walleij@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656854922; h=from:from:sender: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=eYMN5bizTtcULBqpsEbwu/1tn9qda74xo65q/h7io+0=; b=cIRCsUelPM8uSrDiV3RzMYZ4qNMk2OXonwXnweikVUUKSHwmaWGbM4OaYt7F8ltrQu++xl 3fDVxmFjn68kAvLMJYezKjfPIcsrvVWEh9GZfltJJvrGAQ2oQaZXGJQ0pSH+sJp+7xeocn cFPA/v9GM67UGNHcPtw5VMJ+Uo+3qIE= X-Rspam-User: X-Rspamd-Server: rspam04 Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=VkociPAP; spf=pass (imf11.hostedemail.com: domain of linus.walleij@linaro.org designates 209.85.128.179 as permitted sender) smtp.mailfrom=linus.walleij@linaro.org; dmarc=pass (policy=none) header.from=linaro.org X-Stat-Signature: epo8eo15d37cpt1pd6np3u8ao3q65g4r X-Rspamd-Queue-Id: CB9E840063 X-HE-Tag: 1656854922-22565 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, Jul 2, 2022 at 1:00 AM Andrew Morton wrote: > It would be nice if someone were to teach x86 and others to use static > inlines. Get rid of those stupid macros and improve coverage for your > changes. I share your view on this. I have patches for that, for virt_to_pfn() at least on all archs except one. Since it seems the MM maintainer likes the idea I will talk to Arnd to have this merged and also possibly look at some more of these macros. Yours, Linus Walleij