Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp47705ybg; Mon, 27 Jul 2020 23:02:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySY0MEQourx+Ib9NBmEB84vXCesz9mayuAXi08/84s/KkhY26hGThK/t/DlM2iqsMMV0VO X-Received: by 2002:a17:906:ef2:: with SMTP id x18mr23612518eji.547.1595916175618; Mon, 27 Jul 2020 23:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595916175; cv=none; d=google.com; s=arc-20160816; b=GWst+y/Zc5ymodU/fjAgXFU4mzS7CxaRwO31rfCNyQpcRUb5P15v3mNhHS9I0Lw4NX eUkkqk4Bv54m1rfVleCnU11Dimh/TCv78SfzNwb83+WWOmp9MtHwxzU2jMG4ZAdm5TQo fiPlSjka+DeEJkzsw7xb0WVehjPK8jQ+EzkWAsLsSU+r4mEttdcr3WOIig7iGpuzCvBt guEpkeGyjWjN8xhb8dpC283+BTp0eFULAMIxjsnvf79sY6/8MTpcVmdY5EFgBsOXQhFV NrWCZFiFcioS/CwVpnTITFQUN7p3M5YnXHBGdQEaMAre6W74iUDyiXbj8AUISYHp5eSg SdJA== 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=azSZ1bVmxDJBdKb3nWRp5yqpa8NuzlmguBfvozlPmNE=; b=YOiLad0+PwIpTwWmZTXCyU9k7XXvlwrFmr5XLYkjHP5Q4nqRbyULO0H78W1ys9p1ZX /QTFizJluvE7knH183r6Oz7m+ra9P4vHfHBrERkF3/P36hvyKhGMz1HyfY91rcFkHLQb g42nwXSQ0otXUhhZzDrY8Y/NCRLVckeWuW4bqUZZl+XxNQ3ld/HjVvf+ciES2V+390Jf x11yoUGPbbkdEst1aAvJO2qAAU3g4JDBuyyA+QWQK/BwSBUopAGkJ/S901vXBfGzb0dy UMG/g8dnYyjd8WMbFZvCTB1L2SAlOddTLuFoDIxag9En6OvN1UnvKgAAVO+Y4bFLsrxG 8JKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HNEXXWnS; 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 v21si106650ejx.513.2020.07.27.23.02.33; Mon, 27 Jul 2020 23:02:55 -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=HNEXXWnS; 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 S1727038AbgG1GAW (ORCPT + 99 others); Tue, 28 Jul 2020 02:00:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:49592 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgG1GAV (ORCPT ); Tue, 28 Jul 2020 02:00:21 -0400 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 36CB420658; Tue, 28 Jul 2020 06:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595916021; bh=azSZ1bVmxDJBdKb3nWRp5yqpa8NuzlmguBfvozlPmNE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HNEXXWnS6O0LFT/ROcZpFKckNs/pLB3ZHS0NH3WIpDzlfG26PvLoE7gTFhEjTDEhA 9XY402f7Q4ua6dfuG0RUMjMILEp1mSfr7CIdWeG4xj0OHWArBAXyYz4TGC8yY91rUz SBKxsxo3sNuQYffP8YQ42NNrmaeLyJ0EPKAIF4iA= Received: by mail-lj1-f177.google.com with SMTP id q6so19793198ljp.4; Mon, 27 Jul 2020 23:00:21 -0700 (PDT) X-Gm-Message-State: AOAM531BqVfB6bjh3J0SvmzTw6D6T6UBz6eyCSUGAFhOp/3Tcins8+u1 iiql6odvUJdKb4LPG1UTV+JV8xNEFfarN4ZtF/s= X-Received: by 2002:a2e:7c14:: with SMTP id x20mr11834077ljc.41.1595916019590; Mon, 27 Jul 2020 23:00:19 -0700 (PDT) MIME-Version: 1.0 References: <20200727184506.2279656-1-guro@fb.com> <20200727184506.2279656-31-guro@fb.com> In-Reply-To: <20200727184506.2279656-31-guro@fb.com> From: Song Liu Date: Mon, 27 Jul 2020 23:00:08 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH bpf-next v2 30/35] bpf: bpftool: do not touch RLIMIT_MEMLOCK 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:21 PM Roman Gushchin wrote: > > Since bpf stopped using memlock rlimit to limit the memory usage, > there is no more reason for bpftool to alter its own limits. > > Signed-off-by: Roman Gushchin I think we will need feature check for memcg based accounting. Thanks, Song