From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40C44C433FE for ; Thu, 7 Oct 2021 08:04:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BE9DC61076 for ; Thu, 7 Oct 2021 08:04:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BE9DC61076 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=virtuozzo.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 53A086B006C; Thu, 7 Oct 2021 04:04:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4C4286B0071; Thu, 7 Oct 2021 04:04:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 38AE0900002; Thu, 7 Oct 2021 04:04:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0137.hostedemail.com [216.40.44.137]) by kanga.kvack.org (Postfix) with ESMTP id 2B0EC6B006C for ; Thu, 7 Oct 2021 04:04:48 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id E52362A48C for ; Thu, 7 Oct 2021 08:04:47 +0000 (UTC) X-FDA: 78668905014.02.BA8A835 Received: from relay.sw.ru (relay.sw.ru [185.231.240.75]) by imf10.hostedemail.com (Postfix) with ESMTP id 53EEC6002FDF for ; Thu, 7 Oct 2021 08:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=Content-Type:MIME-Version:Date:Message-ID:Subject :From; bh=0BFtNW+uAic/gbXLZdgsDlSO4sw6Ifw/xoJaDaI55bU=; b=sFxVuxGF/K/sI9yRXtt iHelb55imrMwNRi00EL//AAgf9cXXhmdFaqfFlGjfOH9hCddiUk7c5W6sI2GLrh9HN41qQSKv/n/U WDKnaXDE6Fhh1q7If9NFVKPoW5fKf3hJ/EOgpbOJ+ver0iKgznhwp8QFOo0n5dKpOnV3Cr46vYA=; Received: from [10.93.0.56] by relay.sw.ru with esmtp (Exim 4.94.2) (envelope-from ) id 1mYOOQ-005Ivp-TU; Thu, 07 Oct 2021 11:04:42 +0300 To: Michal Hocko , Johannes Weiner , Vladimir Davydov , Andrew Morton , Cgroups , Linux MM , "linux-kernel@vger.kernel.org" , kernel@openvz.org From: Vasily Averin Subject: memcg memory accounting in vmalloc is broken Message-ID: Date: Thu, 7 Oct 2021 11:04:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 53EEC6002FDF X-Stat-Signature: rrqdmeg8tbj6gr8f874d3cc84ygex95p Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=virtuozzo.com header.s=relay header.b=sFxVuxGF; dmarc=pass (policy=quarantine) header.from=virtuozzo.com; spf=pass (imf10.hostedemail.com: domain of vvs@virtuozzo.com designates 185.231.240.75 as permitted sender) smtp.mailfrom=vvs@virtuozzo.com X-HE-Tag: 1633593887-483541 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: vmalloc was switched to __alloc_pages_bulk but it does not account the memory to memcg. Is it known issue perhaps? thank you, Vasily Averin