Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp115588rdh; Tue, 6 Feb 2024 22:17:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8TRNJx4di+96wyiTKMJU+VvDoP+rTqWjn9r/F6969Ei9SnlVMQIPOdFS7RwX1IzWCibBs X-Received: by 2002:a05:620a:21d6:b0:785:5efd:fc22 with SMTP id h22-20020a05620a21d600b007855efdfc22mr4226330qka.11.1707286674702; Tue, 06 Feb 2024 22:17:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707286674; cv=pass; d=google.com; s=arc-20160816; b=ZmEc6aPQjpGYWzu3kkoGNI0Ai4m7uS3CboCFsvzn5l19moH2PrkjPIsVNCopsbjZWp fZ5BjVknnD2SJJ6xpevNW00I0r49a/2bA2SokIf6tupmlMev8+g99oqLkn7iAZnaSddw B/j5KeyyB9T86Cqg6xg8Ib0hV5R0FqOI+CwQOwvjv6hk8eEZqb+wbt13Mw4fbBM3wtr9 TYYN+rj+VmfWfHpcimGgqkKN8Fxft8pqBQu3kDWXCUdjRCmkCt/BQMOLXEBAw02Rt37t DtXltZ/HaUI0/pHUPuAiTqtfT7gktnadYMIzIb9s6br4QwZw+d3bZA9YcAWg0bDi6/0p NYkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=4HrCo4Go00EXz2MqlF14s4KMx2UZHKzsjS+HN7k95S0=; fh=RewJGRA2l3uYy/bVr6gW/fwCPyCuRNjhdyL4rvoiBz8=; b=cNK18/g+tgQbGMYGCaTwWXDrRR3y1LOh/w1dBOJZOEhOIIbIGaK9OwcliS8GdK8i9U c0OT5L68aSWkMjjWwAHtYpazMdWV0gA85IrAK1Ds42SCuyh6D4GYxIIWREBjqjm1RaEd v/XQ54ow/y+CusK5aFlGPqgZj5novGc3JD32wEjrC6jmWspuvQk11LT0FwhNWhA++QJA rdtyWg2dMgzdKqbIJJNbpcuhmqFYmSSgp93sWDJWOfSA9zjCu9cce2oCaMvWYfBXwbBy yJCbHXdC5OX6TNyQ89GOmdDUc8nHnpqshX6xD54li6pguMdy5dHcyv0A02moV7lic90y f9UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=U5gwo+mc; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-56007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au X-Forwarded-Encrypted: i=2; AJvYcCXa0GqLy+U/PwxjfgkZWwwGgTEJV6NGh220llEmwDexo63yrxBPyBs0ErlaT5gf/W1X9xF0t0YICS+lyQF2K04vU/y1PVC2HNPWpFxY3w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ay43-20020a05620a17ab00b00783ab755e57si550722qkb.429.2024.02.06.22.17.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 22:17:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56007-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=@canb.auug.org.au header.s=201702 header.b=U5gwo+mc; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-56007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 749D31C2523A for ; Wed, 7 Feb 2024 06:17:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 154151CF83; Wed, 7 Feb 2024 06:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="U5gwo+mc" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 966CF1CF8A; Wed, 7 Feb 2024 06:17:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707286668; cv=none; b=RInmz+QN71BaTisQha3I7e9EX+uCTDMOT3wI+wBmMPSOrLcGTd5jL41YuPQHnNCH/Yznfjg7KVYHCJ81i+ds9NE8xqHc3vWG6+oBrveoKTYuSAYf8t7Q48Vd0SWtRl0mZMbUInlw611jtX40E5SGrp33EaZRAExZNVsJaXDDvHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707286668; c=relaxed/simple; bh=yk8VkfK6JqlgbwfJ8elhDe8rYDVY9GE1/9Fde6awSlE=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=HIY/5wu5ZFy19wab1oeDZxh3wgK+iV3kzsyDewyu3F3L+Bo6f7D5qyh++k8TkVxP+lknH2cIhpHo5FPZB9FuNxNTj17+9PhPCX4pKeHxVJ4TLmoxPBTzqQ8Nu8kob78lVPh3cW++F41ppSXgVlmrURbKdTpN4HKg8634EVnTEMw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=U5gwo+mc; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1707286664; bh=4HrCo4Go00EXz2MqlF14s4KMx2UZHKzsjS+HN7k95S0=; h=Date:From:To:Cc:Subject:From; b=U5gwo+mc4QkcLVjBa2BXOhjqnYCqkmCzyoHA7BS0q6iGdkLFR0ILGa8hpqdQBoSev ZqVsA0ZY+TX/Bf90mOzE9ws9mSTXkvqNPKuIvIffF4CsVkBitj/FLj/SPeZjXvyzC8 BHEczgSmwMDIaLnGBo0UXnoTLy5WpW/udtRTXnLzEb2EiT+34MtI3Ve9I3FhN5v53C TFWiTYifghrk2dNL5L40szqKAqr6xSDc97VCfip/fjH5WRruKA5ObeXGGEuAll+YiZ 1ztPBkn0EDfbIAJzcu5nOM8/eeCFj7PJUq5RgPL+wNnYpAn3k2qTau4mf1lvZLICut F6RVAK233cQig== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TV8zq2X86z4wd0; Wed, 7 Feb 2024 17:17:41 +1100 (AEDT) Date: Wed, 7 Feb 2024 17:17:41 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Kairui Song , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the mm tree Message-ID: <20240207171741.1f3f090f@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/SdI4lH_kzqvTR_gswJ2k=GE"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/SdI4lH_kzqvTR_gswJ2k=GE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the mm tree, today's linux-next build (x86_64 allnodconfig) failed like this: mm/memory.c: In function 'do_swap_page': mm/memory.c:4004:29: error: implicit declaration of function 'swapcache_pre= pare'; did you mean 'swapcache_clear'? [-Werror=3Dimplicit-function-declara= tion] 4004 | if (swapcache_prepare(entry)) | ^~~~~~~~~~~~~~~~~ | swapcache_clear Caused by commit 1fa5b77af107 ("mm/swap: fix race condition in direct swapin path") from the mm-unstable branch of the mm tree. # CONFIG_SWAP is not set I have applied the following patch for today: From: Stephen Rothwell Date: Wed, 7 Feb 2024 17:04:15 +1100 Subject: [PATCH] fix up for "mm/swap: fix race condition in direct swapin path" Signed-off-by: Stephen Rothwell --- include/linux/swap.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/swap.h b/include/linux/swap.h index 768a9078070d..b4c389b9e4e0 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -552,6 +552,11 @@ static inline int swap_duplicate(swp_entry_t swp) return 0; } =20 +static inline int swapcache_prepare(swp_entry_t swp) +{ + return 0; +} + static inline void swap_free(swp_entry_t swp) { } --=20 2.43.0 --=20 Cheers, Stephen Rothwell --Sig_/SdI4lH_kzqvTR_gswJ2k=GE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXDIIUACgkQAVBC80lX 0GyjPAf+NVv5nt0BdXm7Yr8nTfKcUV9Sldle4+ccAHH50Ly8lXY4dZ0srhTIKU7K yZsXL8YysjPi/U+fDaKXG9G9xU7G9SY4lHgfAoaaG6I+4xOMkgBvPWhd2HmDO7dj QelE+UfxTMiGWKEf86V9biEapfVE5FnErzkFcBEmlttokM1j0IytYn8LkIa+4iGM Th5W653WctvWxGo/pfo9698HWcsgMMVB+dnDqDtut6elk/7KJsGa8cCSdIeoW89F aT8A0Grh49Sfu/yTh1CK348OAqBdbfemHGF7XJOWNnqgxJmoX4ZcZ6wZGlfhn73m UnUKG6dHOvYfa/8RZBfY+TuFeMD9XA== =chF1 -----END PGP SIGNATURE----- --Sig_/SdI4lH_kzqvTR_gswJ2k=GE--