Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp48910ybg; Mon, 27 Jul 2020 15:14:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoWY1GF2uR4L6vxqf5M/boJz+E2Q2PSPrMmaUYMeqCuqYOGwsLbLlJIXOeHrDIC6HCsozh X-Received: by 2002:a05:6402:13c4:: with SMTP id a4mr14224994edx.108.1595888055938; Mon, 27 Jul 2020 15:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595888055; cv=none; d=google.com; s=arc-20160816; b=JNFI0XOB8faaWjo23YeE2Zam+HhmPsgtJJj5rD0/U3GcGFbM9WCFv/djXFJ98k0N29 0nx6P3HQ3F5BA9VnduDFeByzkBLSrdlSy4wpJfWXSwpViiFwIY3uI+7YPBYdRC5BGMpT ZUSv4hjQA4rls0kou6dAQhA4YdpS5YYwYfH13r+5xwZ67k2NBoBzQeU/ocn54IlhQhNM hGUwGmV19Q2zx96hwZm8H2s5acYFsgWuIn6W/y5m/zEfZAPOLHdMMR0uaz6LdIHs4G9j N+OFvv3MnHCEcIrRaeipVZE3oYWGCmt9ekJxZ/TfcdDdlqmpYdQY5YwfLFA5fQFEAXIv McZw== 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=0yrOceQ4ThJg8bvXzYV7sUock5Bm6u65FacsCAg9Sto=; b=ctDHlKzCMh86wJsSHGHYOZXWS2vmdvbHrDa/wjIKo6DQ6xwWpHvwino5WFEK1a5+V0 Vf94/CDYzyiQtoyPr5v5MxqAkpAaYQpqK1qQF3XnF36CiIcUG7B8MVanhywUMI0dOloX 9izIkFVA/hYObFaP+EUE+VlAgWjUSOTgHJIf/zgJMComVgK3Haizr44tsaM8AlSO9PVJ p1rBHG/C9CSRxw8tvKZ2KxUxnxcKnHryMa8ihZpKBmU+ZYfEM1AlC+p05pVLQ2/vaVk4 OAWD6b8MBnOlAol9pYJRa5Dgnjm8N9EG6hHcxB4QAN1SwTiN/ZgchO7cqfa45y0np0Tc j7VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EYVaR9hj; 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 z15si6629238ejr.250.2020.07.27.15.13.54; Mon, 27 Jul 2020 15:14:15 -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=EYVaR9hj; 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 S1727045AbgG0WMb (ORCPT + 99 others); Mon, 27 Jul 2020 18:12:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:35274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgG0WMa (ORCPT ); Mon, 27 Jul 2020 18:12:30 -0400 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 1AEC22083E; Mon, 27 Jul 2020 22:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595887950; bh=0yrOceQ4ThJg8bvXzYV7sUock5Bm6u65FacsCAg9Sto=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=EYVaR9hjuc3lX6dAyBEoFmST/hApD6sOnGavFziizdPggYn88O578HLq5Tl+i0VxF wcNkZlmjkgHf9n0Sg48UdPM9LsnSYJYH51ogOqvXM237UqeDxQBAkkOtH82INZHajR UMntsU7dNIfTTk+G7XlmV9qkRFEyd4182URWz2oU= Received: by mail-lj1-f179.google.com with SMTP id f5so18949735ljj.10; Mon, 27 Jul 2020 15:12:30 -0700 (PDT) X-Gm-Message-State: AOAM533rpdO2l1+t2dZxpnj/Gevol1C1Anfq+eyLb3EjveKpwzJby3v5 wS7EIvebjbJNoLQJQ8Se31TpcyR+7DzIZKv73zw= X-Received: by 2002:a2e:7c14:: with SMTP id x20mr11171357ljc.41.1595887948418; Mon, 27 Jul 2020 15:12:28 -0700 (PDT) MIME-Version: 1.0 References: <20200727184506.2279656-1-guro@fb.com> <20200727184506.2279656-3-guro@fb.com> In-Reply-To: <20200727184506.2279656-3-guro@fb.com> From: Song Liu Date: Mon, 27 Jul 2020 15:12:17 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH bpf-next v2 02/35] bpf: memcg-based memory accounting for bpf 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:23 PM Roman Gushchin wrote: > > This patch enables memcg-based memory accounting for memory allocated > by __bpf_map_area_alloc(), which is used by most map types for > large allocations. > > Following patches in the series will refine the accounting for > some map types. > > Signed-off-by: Roman Gushchin Acked-by: Song Liu