Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp34696ybg; Mon, 27 Jul 2020 22:32:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYoBLsY0T3VJRJNyBvXbAZvDCX4P5FAnCEjbyexRCmZs2w9MgGe/rfw3YjBm2ayPefw+KG X-Received: by 2002:a17:906:fcdb:: with SMTP id qx27mr8386006ejb.421.1595914358573; Mon, 27 Jul 2020 22:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595914358; cv=none; d=google.com; s=arc-20160816; b=FpEknr9lsRSy8DV2k1eg7s1dBqrt8MLbVPktDCiWpHwwoFDd1McOSlj+j1XvmICGLp YHr5Kt0r1vQTngRm2lIr4KM0PpqU1dRccfozA7b9S4vZ6lajRP5Cpw+qg8er5SjLN7dF 8TnHnwP82d0TGLn8ppGupkIRZxT/dKbCp2oVwWQCezhpKQHY2DfXOgBVopjYRnTLAho/ D4QiB/bbT1mXc0rBx1TKyXHseiKSTMTLymmLQ2LFE5ouCMm+Hc6aL01eBpLTX0zVVP+6 beXofrw2a2EnosqSbnlRgJYomX+hLGMAD0pObCjvveJtf9qYGPMb+jdM5bAyHIaygV+C FcVQ== 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=NxGOqzNDCiGqo7SqhZy3eBT1mOYiIlD0oSMzOtfXMNM=; b=0s0UZZ1BVjFelfeMGsCw1R9Sq4DCuGu3teSv5t/1Jti0cn/UJH7dSOTHhWBVLJ+Twt IOULl4JH4hUUu1OavK8d7COX+a5Soc8Zti565jNSQXShyKRQ5Ws2wdXujZ0P5NNAUkKa GK3oO/J2mvscz1HrYKh8hlRi0HJeFx4o40DU0RyBSDJ9unWpdUfhJsOlG8ZT4AcpiA/g fUZJA9ZyAaOXQpXZcFax2KzLBvDJuEZ0Ij9FIYonPAwF9VHSpImjj7kziwVFE5r1U9tx NmYp5d613iZuOeVPsKXZXjBJV03nZHQoUU6C6MYveh4e7VWF2YItlWrhS5rxH7pJ44ch wo5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nxlYItFL; 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 j12si7607465edn.287.2020.07.27.22.32.16; Mon, 27 Jul 2020 22:32:38 -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=nxlYItFL; 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 S1726445AbgG1F3y (ORCPT + 99 others); Tue, 28 Jul 2020 01:29:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:42334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbgG1F3x (ORCPT ); Tue, 28 Jul 2020 01:29:53 -0400 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 0A75120759; Tue, 28 Jul 2020 05:29:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595914193; bh=NxGOqzNDCiGqo7SqhZy3eBT1mOYiIlD0oSMzOtfXMNM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nxlYItFLeTyNsqaWkPzykKvJ7xRkqieMF2gcr6i/bqHf2HWL2lOjeb9XOnfJPrGSm SISOcPdiF4ORXZYQmdP1oWFs+SxraKB91kh5gSkxGs80v4Ly0UL6Xin6/FNXAscYo+ lIfjPCQSKJawWM5S15qGV5dvuWI+LoriOkJjJ3Do= Received: by mail-lj1-f172.google.com with SMTP id f5so19721490ljj.10; Mon, 27 Jul 2020 22:29:52 -0700 (PDT) X-Gm-Message-State: AOAM532K5IQGyTUXZh+6zbC9PJVX9d/NRFYqyMjAxARireK8KYvrPXn6 in5+5HLVI6zn2BLj8GHIeuJkJahOLO43ov0NNfE= X-Received: by 2002:a2e:81c2:: with SMTP id s2mr3261614ljg.10.1595914191378; Mon, 27 Jul 2020 22:29:51 -0700 (PDT) MIME-Version: 1.0 References: <20200727184506.2279656-1-guro@fb.com> <20200727184506.2279656-15-guro@fb.com> In-Reply-To: <20200727184506.2279656-15-guro@fb.com> From: Song Liu Date: Mon, 27 Jul 2020 22:29:40 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH bpf-next v2 14/35] bpf: eliminate rlimit-based memory accounting for bpf_struct_ops 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:26 PM Roman Gushchin wrote: > > Do not use rlimit-based memory accounting for bpf_struct_ops maps. > It has been replaced with the memcg-based memory accounting. > > Signed-off-by: Roman Gushchin Acked-by: Song Liu