Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4758521ioa; Wed, 27 Apr 2022 10:26:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU62TLFRliFHeKWBfPISFRMO/Du89dkWrF/KVRxwfip1eCdZnNHHinHqWm3qQ9pCy1YVFo X-Received: by 2002:a17:90b:4b45:b0:1d9:b448:a925 with SMTP id mi5-20020a17090b4b4500b001d9b448a925mr10053949pjb.7.1651080376109; Wed, 27 Apr 2022 10:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651080376; cv=none; d=google.com; s=arc-20160816; b=BYEMOEW75Ud9uuQgHSacTBh1r9PNlupjhVYeE2Rp9Aw80a0EcLJQEOuhCHHRHgFjo7 wAP460ucsWYusBOOxRTMmJoyjJcUjK0f1BZ1HPJdJx+0U2ov/KYVuNqo4LxX6xHrG33O 2arLT98BqphDx+g08nh+jLexneW5OBVlvc3AQ1oNKJS9yb9yuobq2o729xoBjVX5ElyD 6STTezvEbrDH8ibiI+E5fFyU+FMxhEDe6S6wBXUEFzP6Eii0/jmpmUUP2eFEMzUl9X7y vxubzoGElQscW5tN98sVZOTxkVqtH5QhcjI+GF+RdWRZpYcnlMTg5kqTXX7w8mfgNTd/ aDsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=VnDuIzq5wZAuXJdZTngKegfKKHG5tq4+7oBBrf3gTsU=; b=DypGhCU/8vw//bs8AH1t+1BS3jGI6cuzgglWt9WRjJdf/uSQDkbpJCelf4f8bnvBGZ KQa3LxoTB0+s3ML3Jou6SCur0bUYoJ6oi7EP6cZShX60WX3Cc5EAU77zgaIEh8vfAYE+ kBKLwHmmbVJ7A0pmNv1w9KSMUkz2secm3afDodbelB2CrCQRHpdkqFnrTFCiKt3iFBRb ClLqGPQkb+LelrnHtKq59a85mtd+789SWOjTHIcYbaVjiwBZysisDJaV4OEk0wqGUzmr jLrEUz73oLSM3G1Kc9GnI3d9xxryr67dIVl9OgQjwVGbI3jitfwHFMqMBcdwl+SoZs0Q os/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kJEVq7He; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u4-20020a170902e5c400b00158c8203fdfsi2324799plf.12.2022.04.27.10.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 10:26:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kJEVq7He; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7E0B855340; Wed, 27 Apr 2022 09:59:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243753AbiD0RCV (ORCPT + 99 others); Wed, 27 Apr 2022 13:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243741AbiD0RCP (ORCPT ); Wed, 27 Apr 2022 13:02:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F92580CA; Wed, 27 Apr 2022 09:58:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 11BD661DEB; Wed, 27 Apr 2022 16:58:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE41BC385A9; Wed, 27 Apr 2022 16:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651078736; bh=FmfW5mMXWhX2Mi+Sbzj2wt7tROQxvWHwctYg2Qae4Bs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kJEVq7HesLGTQJq0kIoH1ndsPmZ40qDReAmWZS3ti4uUl2G/kn9RMhEPqshgxYuMF lGJaIqTtcb4mcnCDfdf/OonSC6z2Af/PcKHGWs98w32UM1488iy1uz+ZNYkWwRKJa6 b+D7b6pS34Y6LmzCkItPYwixCmyXYgCoCyUF/FsOsl6rXGCVi2pR60nKFZZWOS5mXC CevsIgWlc1zSpToivy+avqALh9jYDmynXs7DtjEErefOuq0UZ1/xaFJMGTqJ3GQ8pa b5DVuBoD+dssYoLYK2Hfdmz9EE5QREy9P5CNDR9GAtoh18aG/O8Bx0Z4rzDpM5zw+Z Iyd+tjZb5I7tg== Date: Wed, 27 Apr 2022 09:58:54 -0700 From: Jakub Kicinski To: Vasily Averin Cc: Roman Gushchin , Vlastimil Babka , Shakeel Butt , kernel@openvz.org, linux-kernel@vger.kernel.org, Michal Hocko , cgroups@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Paolo Abeni Subject: Re: [PATCH] memcg: enable accounting for veth queues Message-ID: <20220427095854.79554fab@kernel.org> In-Reply-To: <1c338b99-8133-6126-2ff2-94a4d3f26451@openvz.org> References: <1c338b99-8133-6126-2ff2-94a4d3f26451@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Apr 2022 13:34:29 +0300 Vasily Averin wrote: > Subject: [PATCH] memcg: enable accounting for veth queues This is a pure networking patch, right? The prefix should be "net: ", I think. > veth netdevice defines own rx queues and allocates array containing > up to 4095 ~750-bytes-long 'struct veth_rq' elements. Such allocation > is quite huge and should be accounted to memcg. > > Signed-off-by: Vasily Averin