From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDF8846AEDC for ; Fri, 27 Feb 2026 19:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772221544; cv=none; b=jXa5yqCLchqGmphhqXcNxQnuN9/nUczyrcgJG3skmvYfaDYp/qLrrg6YfGMFa6j3P15yX2/0D6ryBtcKdPnMoZu6965lmTZGKYUg6wczGlLdIH3HUZm97LbpyZlyTHqxDyF8brBNhvDCrK5QC/nMbnP72pkZAZhpXM1bu0J7vJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772221544; c=relaxed/simple; bh=MsWV/6FClpkzicCm3xQ7Mz+UW79J9g21c9dx03dFvhE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pvqDkXlBniN8eLoFuhlVPkhzluFwlslN1cSs6xGvjOm9ClIygAAACsNRhhHKuGOrUsBWv/TNQyqNItxqobPppCTJAgqqP227v2AknOhrHt735TWU1EihRWV313FSOp8OXYYNhSDRaPfrkeyE96VWLEY3/v5F5Z61EG+XElLRChs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GnyBZFxd; arc=none smtp.client-ip=209.85.161.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GnyBZFxd" Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-679efb9eb0dso1812708eaf.2 for ; Fri, 27 Feb 2026 11:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772221541; x=1772826341; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3Jbxq4nQ7cCHo0K9mO13qBbib2DHZAL310WhuqAgZmw=; b=GnyBZFxdp33FpzAr3ouCwsr97jlH1Vte+VfbQ633QrQaM6ux9/CuISbnmnu7DrFCki 66HyogM0m6iEfuvCp+2Bps+rkRklfgHGo+PR34I7sUEZI9ucbJFr26CZNK8zp2ymIzc9 31QHsQx1SI57zQ0//39jdRMnLQ/K87OPSm8i4nef3/gYDAP456weB6DLGuf0JXBay7Tq +WQmp0MwBKP6MTXCG6yuWR8ta8LZg1KnkFXSnBhGPi6+ZZHDn6+2Pre7To/SaD6IjilF wLs9bipO6sYAOIY9+dts7zyceJzQ8Vsx+ncvRPLz5B6A66lfquVdu+stZ1eV+nxwZa2X LwKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772221541; x=1772826341; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3Jbxq4nQ7cCHo0K9mO13qBbib2DHZAL310WhuqAgZmw=; b=p13nDeUWlq92yitJtRQ7wSUFxI3eObcfkKpiiP76K2fPvsaKcB78Eq05HHc85b0BnY ps5nNF/fOVW4//LO4W/ZqY8v8qoOEk877TKKpZ+B3IJNFHBlP2SO5LEy/bMcYKHOAuqf GfGoorLVum38ueMqlnR4RsHAlWhhmjzTaewPykUCW4Aj1FRNSujm9CE1QkX1Yza6AMhj Arncwrl9rLQ4eNG2CaRr4WP9e254h8y3hxTaYxaNSLmKDRmoDVUYQZbb3YKKvSIY0AdR tEi3FC3MbMB8brgeI2XPNX2YgxzGzBmngYGnMI/A6dtG2Y2I2d1KZIH9qWH3kveA5iov 3NpA== X-Forwarded-Encrypted: i=1; AJvYcCVf/7M3vqhcZTE0KLZw13YhpSZocZSLoEt6++AhoCAJk14IvT808VJgSJMg+AfdXnXP/UqbPv5b/+4iI14=@vger.kernel.org X-Gm-Message-State: AOJu0YwoNwTLnlAP/VniaPB5hMUvwfwOrPX9FWn7veqfqEXtBh7GSe3W mg+6UlBVsu/mIrrxEhnxDdTPuS4nSlrNzwZOd17cJGfpPenKSlmplNM7 X-Gm-Gg: ATEYQzw9AlRdIHPaPu4/I65ge3VSMwEzPbNx3fWLs9cJwKBYS85xUIzB6VTLbTJffiI PORCzChVCjlO67g6bBWtbe26z9SC87KTqxByvIEKZAkznsX2+3eOVJU2HGg6T7/nEWHDXoJzosX qcDQ7nAuzqu9P9m7i7qbLs6kZq4PUaRxXDqlBDnWJUMXQoHw53sYCor41Lqt4YCifZalcWa9Bdw IPJgaB/l4kMR10FG0vde97UhuEYM0XTY2yBApckqshbThbGz+kHcybo/t2sMQvDttWnDRJOfYci Dg6DSfUZNW/lgpitw0ciD9H+IJ0HazRbR4yqHDwsICNgxnydMgnDR/6B3FLm7vva/HyRwKwn7B7 ajAlVLc33XjZWYHwDFnCvH9rvHb7JGsg24iS9B5H5bIlX5INhsPnp21yC/XB9Opbkx4e+k8H58o VBLT+zIbPGdDq10qpsjS5hww== X-Received: by 2002:a05:6820:8187:b0:679:e7b2:9fc6 with SMTP id 006d021491bc7-679fadc292emr2651719eaf.3.1772221540840; Fri, 27 Feb 2026 11:45:40 -0800 (PST) Received: from localhost ([2a03:2880:10ff:4d::]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-679f2bfee3csm4162972eaf.7.2026.02.27.11.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 11:45:40 -0800 (PST) From: Joshua Hahn To: kernel test robot Cc: Minchan Kim , Sergey Senozhatsky , oe-kbuild-all@lists.linux.dev, Johannes Weiner , Yosry Ahmed , Nhat Pham , Chengming Zhou , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Axel Rasmussen , Yuanchu Xie , Wei Xu , David Hildenbrand , Lorenzo Stoakes , "Liam R . Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Andrew Morton , Linux Memory Management List , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH 8/8] mm/vmstat, memcontrol: Track ZSWAP_B, ZSWAPPED_B per-memcg-lruvec Date: Fri, 27 Feb 2026 11:45:38 -0800 Message-ID: <20260227194538.928770-1-joshua.hahnjy@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <202602270607.dJP65LGH-lkp@intel.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, 27 Feb 2026 06:40:18 +0800 kernel test robot wrote: > Hi Joshua, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on axboe/for-next] > [also build test ERROR on linus/master v7.0-rc1] > [cannot apply to akpm-mm/mm-everything next-20260226] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Joshua-Hahn/mm-zsmalloc-Rename-zs_object_copy-to-zs_obj_copy/20260227-033239 > base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git for-next > patch link: https://lore.kernel.org/r/20260226192936.3190275-9-joshua.hahnjy%40gmail.com > patch subject: [PATCH 8/8] mm/vmstat, memcontrol: Track ZSWAP_B, ZSWAPPED_B per-memcg-lruvec > config: powerpc64-randconfig-r072-20260227 (https://download.01.org/0day-ci/archive/20260227/202602270607.dJP65LGH-lkp@intel.com/config) > compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) > smatch version: v0.5.0-8994-gd50c5a4c > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260227/202602270607.dJP65LGH-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202602270607.dJP65LGH-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> mm/zsmalloc.c:813:17: error: call to undeclared function 'zpdesc_objcgs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 813 | bool objcg = !!zpdesc_objcgs(zspage->first_zpdesc); > | ^ > 1 error generated. Hi Kernel test robot, Thanks again, this seems like the same problem of not defining zpdesc_objcgs outside for the !ifdef CONFIG_MEMCG case. However, in this case I think the change that needs to be made is actually to make the charging happen unconditionally, and within the charging functions check if objcg is present, since the node states can be updated even without the concept of a memcg. Thanks again! Joshua