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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37F5DC678DD for ; Thu, 17 Aug 2023 22:11:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355603AbjHQWKx (ORCPT ); Thu, 17 Aug 2023 18:10:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355701AbjHQWKk (ORCPT ); Thu, 17 Aug 2023 18:10:40 -0400 Received: from out-57.mta1.migadu.com (out-57.mta1.migadu.com [95.215.58.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B8C3359C for ; Thu, 17 Aug 2023 15:10:12 -0700 (PDT) Date: Thu, 17 Aug 2023 15:09:41 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1692310205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AZWOzIrMKkpUc+BDEgZDeC3Wh2PXNMAFyhgvJslJ6wg=; b=xEIQ3L38jf6DxtO1AtG3hpWCWS4o0JBWtd/5QNnpQQ8aRxSbnxY4v7SXUtB9VAdbMk70+s FhPFrDoJEcJSGjRiQa+SxKT0G9po0KTB107NHjDgyq4AdJj9tJNPm5tWpeZZDQHUGuplve Br+JYDAsz3Kq/nwQ7l9HLUMnxJgoCjg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Lucas Karpinski Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Shakeel Butt , Muchun Song , Tejun Heo , Zefan Li , Shuah Khan , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] selftests: cgroup: fix test_kmem_memcg_deletion kernel mem check Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 17, 2023 at 03:57:48PM -0400, Lucas Karpinski wrote: > Currently, not all kernel memory usage is being accounted for. This > commit switches to using the kernel entry within memory.stat which > already includes kernel_stack, pagetables, and slab. The kernel entry > also includes vmalloc and other additional kernel memory use cases which > were missing. > > Signed-off-by: Lucas Karpinski Acked-by: Roman Gushchin Thanks!