Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp11108pxb; Wed, 20 Apr 2022 14:41:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsemDizvfmFa9UTkN3LpIWb+vGnjgbJ9J5W6mw/ErKHsAHcb0d10ECwKEBNGFhQt4TYNxH X-Received: by 2002:aa7:c489:0:b0:41d:78a0:5b32 with SMTP id m9-20020aa7c489000000b0041d78a05b32mr25519132edq.305.1650490900890; Wed, 20 Apr 2022 14:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650490900; cv=none; d=google.com; s=arc-20160816; b=O/ACz3jRn/DxqTWc0MOgQYi/BEwu9tsF6QGDBet/j4dXlCx6VqlwEHj7DmTjlhHvSc qXVhvDrU6wV3cv0yeJEnUvV/XqXFa+dd2i13vdOF8bBcppFntQyMU8ABEGMy4uXvBU1W OCGOMiwcYYtZKP29kAvksYacKRm1pldqfEdajluuDoAGQNrwHe0B0hZeFDtv/n7SlMqA UJ5Rb6hn7M74FBnJtsi9lThN/6u/t7FLTFCrI/osQcAMFArTh5VzWfLOaOPoeGLSyINv 2QF0OuCTK2y8GyiF5xnSBgX05uA8EFryUwCVyLWM4jAmTBJb7dh92DnwAl8ievr5t2UH PjVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=qv0WN8X/UhpyX67SsFohuvgwWj26JONlAk08xdG4xAY=; b=oUWxbdmBrtVHGiCWds/PhmXbFG6JrWmleUw6ey+f87moUIfCN10vP9U0z6h/7pTZF6 HjsTjv/PzyhXXG5IG63D0LkvUFpk0S7OVY9ujkyFOfGQinVx48HYZW2c7cymN9MBJ+9l CCQl9Q9YkNN09H3Zl+v3/GR09n0CheapbqAAuc/TTB44YsLpzuiFPJ/0foYRaxkxLQHY OMe0YJosMzAjOIkHED3RC1QtWPjhU7ovJlFXhcB/9vXa3hKs2OppfscepU+O7TZ1oreL HZ3dL6xTHRqIcioat3DPxEHlA1L/KZyM9Abm6K3cJ/fK6ju4yFgTULaLhFC63PZuncDU TDhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="K5/xubxf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020a056402348400b0041d7a281b9dsi2406740edc.240.2022.04.20.14.41.14; Wed, 20 Apr 2022 14:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="K5/xubxf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357487AbiDTGvM (ORCPT + 99 others); Wed, 20 Apr 2022 02:51:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357501AbiDTGvJ (ORCPT ); Wed, 20 Apr 2022 02:51:09 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43F6D11A00 for ; Tue, 19 Apr 2022 23:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650437303; x=1681973303; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=mTGwZSM92pTyL2ctMbSS0zhlVkv6R4jcFFbuY+lt9Ug=; b=K5/xubxf06VgGM6MjJJIKfvu+3gzahJrk5v0rMh/AfeQkBDIqoZbnKoh Shw9ctOBusS+AZtMxNkv1SCFVMl7LoKhNNg+JuA50vPjC4OypfQSbV5Ce wVVGfAhvwayIhK9njunjseWpPgu8ErjH6Li1NM+oHj4svz45PK2Pg0b/B ZeDDHQTiZkctebGIWIaHxka3hg/5Sen95nPdxuPSuae3yUz460i8e6CZB NJw7I14xI9oPo28AKwxIMCySOaMhwU5P6QcYYg6yvnA0g1C+DeyqURn+7 y6BR1kczy+jF8di/8jQe2bMi50MOYcmR9P9EM5uGytT4ZaDu2MUrgx8gH A==; X-IronPort-AV: E=McAfee;i="6400,9594,10322"; a="264126842" X-IronPort-AV: E=Sophos;i="5.90,274,1643702400"; d="scan'208";a="264126842" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 23:48:22 -0700 X-IronPort-AV: E=Sophos;i="5.90,274,1643702400"; d="scan'208";a="727366893" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.31.199]) ([10.255.31.199]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 23:48:18 -0700 Subject: Re: [kbuild-all] Re: [PATCH] mm/swap: Fix lost swap bits in unuse_pte() To: Miaohe Lin , kernel test robot , Peter Xu Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, akpm@linux-foundation.org, willy@infradead.org, vbabka@suse.cz, dhowells@redhat.com, neilb@suse.de, david@redhat.com, apopple@nvidia.com, surenb@google.com, minchan@kernel.org, sfr@canb.auug.org.au, rcampbell@nvidia.com, naoya.horiguchi@nec.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <202204201313.QYiDBRbL-lkp@intel.com> From: "Chen, Rong A" Message-ID: <52536319-962a-864c-d5a7-5b959aa91f22@intel.com> Date: Wed, 20 Apr 2022 14:48:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/20/2022 2:23 PM, Miaohe Lin wrote: > On 2022/4/20 13:56, kernel test robot wrote: >> Hi Peter, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on hnaz-mm/master] >> >> url: https://github.com/intel-lab-lkp/linux/commits/Peter-Xu/mm-swap-Fix-lost-swap-bits-in-unuse_pte/20220420-053845 >> base: https://github.com/hnaz/linux-mm master >> config: s390-randconfig-r023-20220420 (https://download.01.org/0day-ci/archive/20220420/202204201313.QYiDBRbL-lkp@intel.com/config) >> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b) >> reproduce (this is a W=1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # install s390 cross compiling tool for clang build >> # apt-get install binutils-s390x-linux-gnu >> # https://github.com/intel-lab-lkp/linux/commit/355ac3eb45402f7aab25b76af029d4390af05238 >> git remote add linux-review https://github.com/intel-lab-lkp/linux >> git fetch --no-tags linux-review Peter-Xu/mm-swap-Fix-lost-swap-bits-in-unuse_pte/20220420-053845 >> git checkout 355ac3eb45402f7aab25b76af029d4390af05238 >> # save the config file >> mkdir build_dir && cp config build_dir/.config >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> > > The variable name is newpte. But it's written as new_pte latter. Many thanks for report! > > BTW: Since this is not a formal patch (no compile tested). Is Reported-by tag still needed? Hi Miaohe, Please ignore the tag, it's only a suggestion, the bot doesn't know the entire picture. Best Regards, Rong Chen > > Thanks! > >> All errors (new ones prefixed by >>): >> >>>> mm/swapfile.c:1824:2: error: use of undeclared identifier 'new_pte'; did you mean 'newpte'? >> new_pte = pte_mkold(mk_pte(page, vma->vm_page_prot)); >> ^~~~~~~ >> newpte >> mm/swapfile.c:1786:14: note: 'newpte' declared here >> pte_t *pte, newpte; >> ^ >> mm/swapfile.c:1826:26: error: use of undeclared identifier 'new_pte' >> pte = pte_mksoft_dirty(new_pte); >> ^ >> mm/swapfile.c:1828:23: error: use of undeclared identifier 'new_pte' >> pte = pte_mkuffd_wp(new_pte); >> ^ >> mm/swapfile.c:1829:36: error: use of undeclared identifier 'new_pte'; did you mean 'newpte'? >> set_pte_at(vma->vm_mm, addr, pte, new_pte); >> ^~~~~~~ >> newpte >> mm/swapfile.c:1786:14: note: 'newpte' declared here >> pte_t *pte, newpte; >> ^ >> 4 errors generated. > ... >> 1839 >> > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org >