Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp91912ybg; Mon, 27 Jul 2020 16:36:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3DwIxLjK1D7gIPLiJZ1iAswZpyPoXSz/V6stUSPOIIvvUcpQKqd/ttraTvStLvDtagc/B X-Received: by 2002:a17:906:2296:: with SMTP id p22mr22724967eja.510.1595892985022; Mon, 27 Jul 2020 16:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595892985; cv=none; d=google.com; s=arc-20160816; b=q5j1ElldX4ephelJwax8lUkjk/OTCtMEmP54qp53lngWQ6WN4RCLMQSS+tcmpRkLf9 //B+wYVV0JoS6/HN7OfrLLBW3xKJjoH++FeK88eSWcyhjl4giPmDUd4iu+UanerxNQPv TNbv4Z5ACqFLxeeI+OvRHBVjv4eTpgYPRcvoTKuKxEZTJAiYcVhiAkEJImf9oxweC0n5 lTtVkzIXYm0LVlCbaplZLSc7CZE4pO7jzhMhco5ETCE+SDnN/f8HYkALTiNK94KLUVfe ZpnC+b7D8vNDi5BBt0RdjtzRGqPVN2UudzMDyKuedt+FMcFD2wsnM1Gff3itwbDqxZ+S B+Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MDZ7lLfbWVYaUmNwmDlo9SAQvLSrljgq4d+0AZEmT6E=; b=fHewNYUo4qLyvFPJk8HU4/GMQXvnwhFYDy5o29cSIqEbgJzQ1TzbXN1tmTPtEmuOzl gWqTrBrpbVH16DFiG0Wi6WFaSq1Anze2l0SDNE1LlxyDNCDJkLKO54wfsqY61D/2Kt+c BgmT9zzePB9fcAxiFojMhXCDGULtbgv4Ohr3/jafa8ibZ+Omq/vC7qDHsifIPWyLAbOg zAK3LPDOXtqVaxHCW7lhxgws7eaM+m7Q92Pdr/+InkUviZButv9uLXULocZgRfrcyKZj szZZIO7njr0H0zXtNd0QX403VGcNghPksQ25fqlPLp7KuN6nRHbt+Xtbb8T6gXVPijwg UUzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nI0crXSJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u24si5635031edb.159.2020.07.27.16.36.02; Mon, 27 Jul 2020 16:36:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nI0crXSJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbgG0Xf3 (ORCPT + 99 others); Mon, 27 Jul 2020 19:35:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:42762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbgG0Xf3 (ORCPT ); Mon, 27 Jul 2020 19:35:29 -0400 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5D38D2070B; Mon, 27 Jul 2020 23:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595892928; bh=MDZ7lLfbWVYaUmNwmDlo9SAQvLSrljgq4d+0AZEmT6E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nI0crXSJJab9r4hfPBToRy3uxAdfJaRN+jgI6ENRNxKLd8E20J3jYFHVq9NUlgIvm CfAx/dg3WNJ6CbdBF8ZCNIxevkW6jCs1RDJsHi0QwvlwZFN6qWMXxOcvHzgBWMXFu4 FhDwzDy9kIjRjKBi2gvRlt+j1I1WUi2HSw/s0tIg= Received: by mail-lf1-f42.google.com with SMTP id i80so9940809lfi.13; Mon, 27 Jul 2020 16:35:28 -0700 (PDT) X-Gm-Message-State: AOAM533Lyvl0JsTa1xR9INXS7j2CQS7MCDDnlMzHAJPNjfzunDam7oRS si13T/oefIT1mqAsqjj935oa0A1HB7ArnwQiIlU= X-Received: by 2002:a19:7710:: with SMTP id s16mr12917059lfc.162.1595892926792; Mon, 27 Jul 2020 16:35:26 -0700 (PDT) MIME-Version: 1.0 References: <20200727184506.2279656-1-guro@fb.com> <20200727184506.2279656-7-guro@fb.com> In-Reply-To: <20200727184506.2279656-7-guro@fb.com> From: Song Liu Date: Mon, 27 Jul 2020 16:35:15 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH bpf-next v2 06/35] bpf: refine memcg-based memory accounting for devmap maps To: Roman Gushchin Cc: bpf , Networking , Alexei Starovoitov , Daniel Borkmann , Kernel Team , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 12:22 PM Roman Gushchin wrote: > > Include map metadata and the node size (struct bpf_dtab_netdev) on > element update into the accounting. > > Signed-off-by: Roman Gushchin Acked-by: Song Liu