Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2450542rdb; Mon, 12 Feb 2024 05:32:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAsN28Kk7gpjNV70oCjWPaQlOTyJbBU4zFhelW4rmTJu5cptM6oQwz0YfiTlWihCnP/VdRIi0J8gfN1hGatPy7T8Sd/6tLXdJE1bXXBw== X-Google-Smtp-Source: AGHT+IEyJDppHSQBIOkLd2esa8M/sRMWR1289wSvg1rUW0XFAwUjr2yZcGSyMD4ONyDckPCqrl5S X-Received: by 2002:a05:620a:220f:b0:785:504a:88e2 with SMTP id m15-20020a05620a220f00b00785504a88e2mr6687600qkh.66.1707744725367; Mon, 12 Feb 2024 05:32:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707744725; cv=pass; d=google.com; s=arc-20160816; b=hSo4yftFCD/Zr0OTuG2AYauSyOJ8TNp4kblHGxdkcIjDdCQNpnQfy0lPdWn7bAZxQ2 vA1rDBgriUlpZqKTRb/P7uqusbqtKUQ0V2JE/lI7VMS3C95XFklubferDh+x2KgrMZeG /7+Clx8cZV7+qzUS+XTPexNRnzCRhL+SgcCnQ8qCoDWGsi+19oiArWF4/RUXjkIbXNjY /70yWp9eo7dofZw43hYt3e7twR3lwD93MuouMUe/spGoylllDkZQOEjueJgtjEkZwr4F ZlBW3l+Ap3iLFaQE0W4FL+YoGRD8JI9XNPWP+I6KyGdRIz3CoXpryHzFol5l71ylSyHf LVNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Qm/YqX9uEOdb2kQB3M409FAVZ5tf5xIwSXUTJ0MefI4=; fh=eJRY5rwZ3jMl9SGEaHDOviD/kwPcxkblyTJAPlkSoKk=; b=Csb0gbYkwbtQ1OFG7vonXtkZRKiKrQmneswimOvvOLXtfdpAmPmB8kBSlYuHb9nHFa lJHIRlcETVIDKLFvu8MlzwqaVELZP9uh3cjNG6KX/3FMv4rO1erZz/EnWBhKfJguUrLX KeTTGJgT/mV2T3oEqXvfknJpzWf5zxk3RAGhfwft96zw6H7aRhyrtCZanR+pwxphgpVZ zzJ5NlKDz14hJ/xj56bkU78KMxmI/dhkS7Pf6us8QkN4SN2tAv/fB4DYDVvg5scWFBQh stmSJ9z5GazPmd18nTWi69Q+aV320RvKT4BvaDj+oCpjbQGq7YvgUu4cUfiaPZ4eD7RR skHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=AI58PqFl; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-61670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com X-Forwarded-Encrypted: i=2; AJvYcCWHCGBVQCIfMzYYA6O7jEQsGz5+3etgbsbUQLCWI7a2BDyH2fLIYg1/U6fOWd8fS+MwzfHHb0G00w+9f6NIUamS5LebkBZH85QX4VHUHw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v4-20020a05620a0a8400b0078403334a55si5900456qkg.133.2024.02.12.05.32.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:32:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=AI58PqFl; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-61670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 23CBC1C21237 for ; Mon, 12 Feb 2024 13:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E880E3D0C4; Mon, 12 Feb 2024 13:17:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="AI58PqFl" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 222B93A8EC for ; Mon, 12 Feb 2024 13:17:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707743875; cv=none; b=uBbpi69hl8Df8QqcvWaSbddn+/Eh4oqrKSE/e9O0Y9YN+lLmYwjlciyrEKc13r+UOiOaUWvF4hHWrGfbKmWZQshWzogrv6P00QRGh4xJ6/h/Kecgv3IePtxnNRjQZANTV7T8V3h59slt4zlcP8jlLlYNak3lHekRVcYKP0MTo3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707743875; c=relaxed/simple; bh=q4qP82FOXPBJyfTKqkI7kEs7ZoU8FcrMrDnPTekYs18=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lFtdJ/S9Npj63TMZ5vW0wLNbVaf8Klpo74ew/Qjk/871Cu66Pj8YfW0YODG3VeEVscDAerrFgHiTOY+Qk0d2pcUxkXtCledq6Yf2soTqjMIYN5Jt5UthE5mDslyORPm6v3nGX8hx7BOIng9uPCNnXNHIOiPEIpWddwk2D4GGIQw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=AI58PqFl; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1d93ddd76adso22080445ad.2 for ; Mon, 12 Feb 2024 05:17:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1707743872; x=1708348672; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Qm/YqX9uEOdb2kQB3M409FAVZ5tf5xIwSXUTJ0MefI4=; b=AI58PqFlXdaTUiYY0MBu8L0vxOlF1wx5K3YJH3m2xtxIZK7k9jdTHCMP80UKODjZZI AGtcn4H6WhbMr6H5DDQ23Byj7HQNbRTSCkJ2xTW2p5ttvHlBftyctrLmEivNQBZ6Rm5n USHMAOMpikqIe2PfYAmNECGjvnaoUoYtdcpGT9Md2IH9Prx7XeHpT4NuhfUR9n2oUz+o hpkBlPQ43NkswpLl2NmH0kzEuVJscZb146CezURTivK08I4d1/sR1aYUkjilOGPG56Pp HOpgQ/ryipWUxi9vcF/y2hfet1WPXPvHZ9KnSuCFLKYWu63f2qTwnZJSM1U9C5rUjpgP 1xQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707743872; x=1708348672; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qm/YqX9uEOdb2kQB3M409FAVZ5tf5xIwSXUTJ0MefI4=; b=Y6l6quAWF5o5oREW+s62Z/fFXhYa36jnPnyt95v5apDx+lzcc++R0nibOVTXUhSHwk dyJC9c+2okcT+A6r5JAGmAC1lNjglBKT8dzEkxu1lel23je/Xj1L/nwv8aoQVdtHs0UC 2Seov7deFNEK+wL2VUemOWEjajOicB6/ESz4iXpYUQIgtJD5PW+WXEA+odwC/svxakiv W4MnhmW278yzrTR9syfDS51MeDNsEdMq/M87+pI94k7ue7i8xTYUO6BV2Zy3c76aA/Jl tS2iVHhiJ/gQjwm4uui1ArrHfXnmM9E3vBFkWKw328pZl3OclL/WLP/GZv7j3Qew0HHe xLkQ== X-Forwarded-Encrypted: i=1; AJvYcCXSswrNNUKdND/LKUlP/gYn0a5eW+m9oFcfbyjRUaQKBIOJonJ0bO7TSKOuJzJLQwIhSxEA2FU1I1Ud0Aah1nlY5bCjPnSw+VWsYd+K X-Gm-Message-State: AOJu0Yy/Bx1RN3xTLGvUdRdJEmr5zPlHOQfRHifqGZZkBj/IIsl7wivY I/nmEvJfe1gnsgj3FcBXUyBp8b4PXcSqLIziWuQh5KBGEeanU3iEFv5Yg209g/Q= X-Received: by 2002:a17:902:d2d2:b0:1d8:f071:5067 with SMTP id n18-20020a170902d2d200b001d8f0715067mr7055492plc.35.1707743872372; Mon, 12 Feb 2024 05:17:52 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWx1ihhn9KToX8YItEUX78cWAXU6fzVhUpXmF9/mp/4ogkpwNeWJ0edTGMaQ49NRdbv/u7fJmam54FIUEF9MaKPo0HZj174f2iFwvoAHTiUKQmu28RQEVHt06PGaAFhYYss1cA9fhM7z/VCyOEn38AZyQwQaChYyr2ECUm0zjU5c6c2fwdKlI6kWMH0OEfCqszPbQA/1tLAqJ7YWhiuLLWM7HKOJT6GlS5dmU5qxU84KLM7w0ZzMfwChA== Received: from [10.255.183.165] ([139.177.225.230]) by smtp.gmail.com with ESMTPSA id q13-20020a170902c74d00b001d963d963aasm323858plq.308.2024.02.12.05.17.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Feb 2024 05:17:51 -0800 (PST) Message-ID: Date: Mon, 12 Feb 2024 21:17:45 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] mm/zswap: global lru and shrinker shared by all zswap_pools Content-Language: en-US To: kernel test robot , Andrew Morton , Johannes Weiner , Yosry Ahmed , Nhat Pham Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org References: <20240210-zswap-global-lru-v1-1-853473d7b0da@bytedance.com> <202402120226.TK7G37U9-lkp@intel.com> From: Chengming Zhou In-Reply-To: <202402120226.TK7G37U9-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024/2/12 03:01, kernel test robot wrote: > Hi Chengming, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on 191d97734e41a5c9f90a2f6636fdd335ae1d435d] > > url: https://github.com/intel-lab-lkp/linux/commits/Chengming-Zhou/mm-zswap-global-lru-and-shrinker-shared-by-all-zswap_pools/20240211-220028 > base: 191d97734e41a5c9f90a2f6636fdd335ae1d435d > patch link: https://lore.kernel.org/r/20240210-zswap-global-lru-v1-1-853473d7b0da%40bytedance.com > patch subject: [PATCH 1/2] mm/zswap: global lru and shrinker shared by all zswap_pools > config: x86_64-randconfig-013-20240211 (https://download.01.org/0day-ci/archive/20240212/202402120226.TK7G37U9-lkp@intel.com/config) > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240212/202402120226.TK7G37U9-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/202402120226.TK7G37U9-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > mm/zswap.c: In function 'zswap_shrinker_count': >>> mm/zswap.c:1300:42: error: 'pool' undeclared (first use in this function); did you mean 'zpool'? > 1300 | nr_backing = get_zswap_pool_size(pool) >> PAGE_SHIFT; Forgot to test with !CONFIG_MEMCG_KMEM, need to change to zswap_pool_total_size here. Thanks.