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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF357C63797 for ; Mon, 6 Feb 2023 15:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230183AbjBFP3h (ORCPT ); Mon, 6 Feb 2023 10:29:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbjBFP3e (ORCPT ); Mon, 6 Feb 2023 10:29:34 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48B3110267 for ; Mon, 6 Feb 2023 07:29:33 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id l7so4839102ilf.0 for ; Mon, 06 Feb 2023 07:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lwFXeEE6OM+Eba5UlMJGqS1S5aU4oc1qRdddqki3enQ=; b=iV7stC/flzjebT0ar0vLBLMrRS1Zgfa4EWmzBHUBq2mPfhFfiy+qFMOXKaYBXaQQGk fnvpe85ijbA+XlWQ94UEI91LIJSirAEiQC26cj+atSqFnE+QYnQMMcNeGrLRqxpvDdHm cKXp4vB0mO9XeLLGwQUUZI3wbYEmaAULlVkLC9CsE5KkerWDgA26PhyGRIEL+ziV9klS ZTfXcOrK3NZsSTZLNj0UKWysqi5sQITOs//iVA4UDTrnHQxJv4D61/PAqTL+n/SAEbTK vTM7/bdyZpB8JbOAtwXYFZJf7rKJzqFufWbhQVhQXWcz2GzCGUsQMnEh2g1LeDK5qqvq LSmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=lwFXeEE6OM+Eba5UlMJGqS1S5aU4oc1qRdddqki3enQ=; b=6CCTGr56f8WQbEjrqttLQoRBvVFfbaDIjCOKEM/S1tWIMcu2GdvGpXnChuZfAZXtdU WWQuvn6uVZulGB3ymP3x0cP57xBTHwg50IEXj/TCZjnEoE4cLHoPZH6FrVYoTLjuD//i fKDcmTGYPFGfTL9wqN8Xg/1EieQe8RcvwY16LqaJNDr39VGdUTwTBZZCm7jBOkSZ0SXz YGyfYY7ofU7X6qzO7UOlX1dO9eMvTad4dqwQ+YaiQig9nuzUMVJY+t187EaAFZdX34My hWC9Ndv2bSH4S/BhYNhXNupOyb72CLiRdLh4KTgU0SDpmig2+YmyS9Tu9h1B0X2INMsa lFbw== X-Gm-Message-State: AO0yUKW4a2J18+cxsByNt1yEVq+EmJoX5yJGTRI94nNWwgwrdo3By8NM eurnRFrE/8ao2XDLSdPS24uQCA== X-Google-Smtp-Source: AK7set9Cjsl1WoBaQgY9HwcHawN0VOjEz2rxxQK8fWTRHIWybXhIiVYh55Tn13UNgbPNi4BUWsceWw== X-Received: by 2002:a92:c266:0:b0:313:c42c:d34 with SMTP id h6-20020a92c266000000b00313c42c0d34mr3044228ild.3.1675697372596; Mon, 06 Feb 2023 07:29:32 -0800 (PST) Received: from [192.168.1.94] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id r11-20020a056e0219cb00b00313b9c65950sm1884967ill.30.2023.02.06.07.29.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Feb 2023 07:29:32 -0800 (PST) Message-ID: <52d41a7e-1407-e74f-9206-6dd583b7b6b5@kernel.dk> Date: Mon, 6 Feb 2023 08:29:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 09/19] io_uring: convert to use vm_account Content-Language: en-US To: Alistair Popple , linux-mm@kvack.org, cgroups@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jgg@nvidia.com, jhubbard@nvidia.com, tjmercier@google.com, hannes@cmpxchg.org, surenb@google.com, mkoutny@suse.com, daniel@ffwll.ch, "Daniel P . Berrange" , Alex Williamson , Pavel Begunkov , io-uring@vger.kernel.org References: <44e6ead48bc53789191b22b0e140aeb82459e75f.1675669136.git-series.apopple@nvidia.com> From: Jens Axboe In-Reply-To: <44e6ead48bc53789191b22b0e140aeb82459e75f.1675669136.git-series.apopple@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/6/23 12:47 AM, Alistair Popple wrote: > Convert io_uring to use vm_account instead of directly charging pages > against the user/mm. Rather than charge pages to both user->locked_vm > and mm->pinned_vm this will only charge pages to user->locked_vm. Not sure how we're supposed to review this, when you just send us 9/19 and vm_account_release() is supposedly an earlier patch in this series. Either CC the whole series, or at least the cover letter, core parts, and the per-subsystem parts. -- Jens Axboe