Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2967728rdb; Mon, 4 Dec 2023 12:32:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmA+3cPYNvOjJ48fgiIQ29JCIxQhzVYHO4S10SZt+Ur8rD4isd4BIak1YcOrr2q2NV9dfz X-Received: by 2002:a17:90b:4c05:b0:286:8abe:4d42 with SMTP id na5-20020a17090b4c0500b002868abe4d42mr200391pjb.21.1701721933452; Mon, 04 Dec 2023 12:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701721933; cv=none; d=google.com; s=arc-20160816; b=D9M+Ndjd0g/rJ9huYLOira3DiuqGVJyrCfhpg64yHB8g881ovb12d102/OujqFfz8L zJkoufBkcEsjlF+TOj9BpsKN/h9dYk7DRxmf0afZGxQzGsOFeEqQNKNjNFy2LscRvczy wlqMaoF9sXe3lxrTnvdvJk8qi9VmBhh2XkFQuJQBOZxEGCGdTbaFD9r4geCPCBIpchIu nsDxoN67Ms2A6opMjqUM8uBWGGYScl6dbkCtvv3zVIxeLTxTrW3OXCfWJiFE45ISRtoI ZlJqQRs5FKAqSjljzki86mcw+/anRquEwyzSqsKCZC+feJdt6agh31LQaXdza++aJvyN u6Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Id0A3lPUtQng12VZaa5ELLdYETtg+mY4YWeeL/hdTB8=; fh=wcE3mEjZyKcHhdsRwKUhsROeMMeKtjX4O0aaxGwfYfI=; b=kTDwVzyvd4+PvCLoFm++i3uGPfy4HA47kykPtSoEwO9mupGfxg5nQT03MtQjbDOuh3 kV3wxc1gf9pxvq6beYEQoyDBrJ+6BLF2u2z2PIluki5OBnEfvP+AGymXwpUrRZH0+AK8 EWHvH3oPmxIYYPCWOUL+hVHpP+/GpZh0cy/Fog3okFQxoUmaUJ5SfRpXmhKzXTlqL7vx ysVluQ9xCCGTDM2d/u1YnrfokXpmfw2s+TiKcGdN8Jirg1rO5nlmDIqgZz5UpuiHPWvI LmWThw+DGZTuXjue9Rzi5/CAIuRjGvORbk677P85X7FyhlY7rPVO0t1idkZNncccnQ/W YVTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=cbhdkNjm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d3-20020a656203000000b005824bad8f81si8165110pgv.853.2023.12.04.12.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 12:32:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=cbhdkNjm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 226B780A9AB5; Mon, 4 Dec 2023 12:32:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233864AbjLDUbw (ORCPT + 99 others); Mon, 4 Dec 2023 15:31:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbjLDUbv (ORCPT ); Mon, 4 Dec 2023 15:31:51 -0500 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E23C2B2 for ; Mon, 4 Dec 2023 12:31:55 -0800 (PST) Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-42552cfee32so11615931cf.2 for ; Mon, 04 Dec 2023 12:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; t=1701721915; x=1702326715; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Id0A3lPUtQng12VZaa5ELLdYETtg+mY4YWeeL/hdTB8=; b=cbhdkNjmP4c7ebttSktKQo9x1uibuNsK+64UIEQfBV4AllnCZNRk4XTqRpSgJCm91d jbo7DuAzgcAV//5DRbM3HNAepkAQU68EzQ4Um4xjyCAK1rjX6cnxqW1M9e2PHS4KA6LZ L+987kdZ02b5YsxPF5mizPuSnTPSdlFNqCls6w6ey9T4zrc/vJ3M9a1bkyWSZLQZBjCq Fa7IEnj8Oc6vXPS0J7M9oownvvn5NPLPf5/onNFq7KoFWaUthePo1mnlOzwDIapSPqSF GH1jS0xLPbNCRLRKi1pJEG76Hm2rNO/1XWMQ6U/+XYAWKFRK92OePpDxtkEYPxMQpcrr nVqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701721915; x=1702326715; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Id0A3lPUtQng12VZaa5ELLdYETtg+mY4YWeeL/hdTB8=; b=Un/iC0i6PrBNhXKCZFb86TPssqJhWg7sdgp4k+IQK+5tiOEOgRKCU65w+AlvCENwBM wsREUh1ClmtZbMaz6JKR8HcZXLkCGF8c8Q4LtKu50W6ODxH0XMpmOrDv9/xNGlhoRw/q uDrAOFuOdwPbUxofWEngEMsU0roHRpq4DBVRCkOK0pNA1qMp+7nsXoZ7aYLffx7OjT6V y8HcTrM9bhF5xNE+CHFl+1UFOtR8lYOS7ZN5c94HJnFgGQeDvax+6cm60fJMsRekb6J1 d2YZoGRoIh3bpzfEYIg0skL+h9zrcjStSflF3jDIzjeiNa7kN6g2KoQ2pVA04NHGZ0K1 4OBg== X-Gm-Message-State: AOJu0YwImWOpC6ISRTTgG+BXiZAJAHTlCDDi7KR8Zk/M/bthV7y+xGjw qzZU1r2Ph6s82njwvMpo6pOBaE543YjWaIMHwwE+RQ== X-Received: by 2002:a05:622a:1749:b0:425:4043:5f07 with SMTP id l9-20020a05622a174900b0042540435f07mr192980qtk.69.1701721914961; Mon, 04 Dec 2023 12:31:54 -0800 (PST) MIME-Version: 1.0 References: <20231130200900.2320829-1-pasha.tatashin@soleen.com> <20231204154614.GO1489931@ziepe.ca> In-Reply-To: <20231204154614.GO1489931@ziepe.ca> From: Pasha Tatashin Date: Mon, 4 Dec 2023 15:31:17 -0500 Message-ID: Subject: Re: [PATCH] vfio: account iommu allocations To: Jason Gunthorpe Cc: akpm@linux-foundation.org, linux-mm@kvack.org, alex.williamson@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 12:32:11 -0800 (PST) On Mon, Dec 4, 2023 at 10:46=E2=80=AFAM Jason Gunthorpe wrot= e: > > On Thu, Nov 30, 2023 at 08:09:00PM +0000, Pasha Tatashin wrote: > > iommu allocations should be accounted in order to allow admins to > > monitor and limit the amount of iommu memory. > > > > Signed-off-by: Pasha Tatashin > > --- > > drivers/vfio/vfio_iommu_type1.c | 8 +++++--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > This patch is spinned of from the series: > > > >https://lore.kernel.org/all/20231128204938.1453583-1-pasha.tatashin@sole= en.com > > Reviewed-by: Jason Gunthorpe Thank you, Pasha > > Jason