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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E6DBC4332F for ; Thu, 9 Nov 2023 19:08:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7671144014A; Thu, 9 Nov 2023 14:08:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6EFEF440147; Thu, 9 Nov 2023 14:08:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5911D44014A; Thu, 9 Nov 2023 14:08:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 4596B440147 for ; Thu, 9 Nov 2023 14:08:13 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 0FC5E1CB298 for ; Thu, 9 Nov 2023 19:08:13 +0000 (UTC) X-FDA: 81439351266.03.7AD035A Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf17.hostedemail.com (Postfix) with ESMTP id 7D9464000D for ; Thu, 9 Nov 2023 19:08:10 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="h2R/68eK"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699556891; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=MeGcoWXWX6UlnYFWPtPzQYRmhX6vvwcek/OV5fuLwhc=; b=pS88Ys7NrLVeNp3PK8gdC9O5tZ2Mj8cl2maRiSzMho0QXTCYgPBgrFVcC0ZaLJ0pzxJexz KbyW0tdOpe1MNlJyq0eqVSAr5L/fWOoESxgQtH6LIt9z6RXap+6OSU94a7lZJeUVcvylBm 4xfJekxm9ji9hVWQIdS4rFXJB6PHvKc= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="h2R/68eK"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1699556891; a=rsa-sha256; cv=none; b=xJzTnX7VpCCXvnFNQ5+hsWOOrF7LODBZlC4nvmJGXclJ0OQ9J4nVc3jyaVrk0UDFFZ4lWv lfFcFuPRt+dTYb9z3yDVzBL8Jv2Wy20TNe6FizRnhqHrYWNa6x2giGTQYmii8Dr1ES+Cmw IA6g+OXDqS9Zz5x9spU+dAdYzaSFrqo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699556891; x=1731092891; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yWTDA5OQls8cfbWPj5y2WOfn1M/AtsguX3V9MSRj6DU=; b=h2R/68eK7IBA44QpBqil13UFqbYnHJmZbyFz/hoJMjd9ZBFQcnCkXsW0 ahLw7RHeJsE9Fh1hF84tKmDEFWRtjL9VyQWvPMTYRB+qzl7McC46TzjKz Qh6rq8cl0XIFspXbPKy8I7omEreg1fNQ32zJs6CfkcZtvsEnAGCqXKMoP MVwgNVNv0vL6+pKgfnS8s01EqnbC2RzVaFoUR92YLfdMeVtJBJOgl88lY OEB3KEJCIZt2XN8NfTlFDUeVKeb3uoMWuw68JpYMGwPPOBGB8k3Bxbbww oQrGyRQHL+cARKrvrsiHU5PC8g6b3+FY4KEwDjeCBfhJajBVNjHIkf6so g==; X-IronPort-AV: E=McAfee;i="6600,9927,10889"; a="8710203" X-IronPort-AV: E=Sophos;i="6.03,290,1694761200"; d="scan'208";a="8710203" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 11:08:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10889"; a="713415352" X-IronPort-AV: E=Sophos;i="6.03,290,1694761200"; d="scan'208";a="713415352" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 09 Nov 2023 11:08:03 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1r1ANk-00094f-2i; Thu, 09 Nov 2023 19:08:00 +0000 Date: Fri, 10 Nov 2023 03:07:42 +0800 From: kernel test robot To: Byungchul Park , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, kernel_team@skhynix.com, akpm@linux-foundation.org, ying.huang@intel.com, namit@vmware.com, xhao@linux.alibaba.com, mgorman@techsingularity.net, hughd@google.com, willy@infradead.org, david@redhat.com, peterz@infradead.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com Subject: Re: [v4 2/3] mm: Defer TLB flush by keeping both src and dst folios at migration Message-ID: <202311100211.UAqu6dj7-lkp@intel.com> References: <20231109045908.54996-3-byungchul@sk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231109045908.54996-3-byungchul@sk.com> X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 7D9464000D X-Stat-Signature: p9k9uk68ym3bokdub93fygt1onsgq5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WRtXnXOvVJGvm1sS8kmdsSVjK6ZDJODyeCru45ZU7mbuV1jePdl+dzPgoYnim4bmqzW8r2jqWmYFqeAcR6qsg0bqZHnYkOE8YQmjWczr/Khz7trZXN/Tcht1GJeEtRLtvTfGDEMLfP7d4Yro86s94Wtxs2NgVzqBfD+XeOrARTmTFuA0W8cZkukQrMTQbPCPTD1tNqPASKXR81sS4LaksYSxiL/AdznyWtho40CEiloKa+y2JbKtMwl95HKZlUMOyYcQLot4MsaQXd+pg2t+ezq30syXPpbbxQrgRN5OACLMvXK9zKI1yZnTsmr0FhsCALiLJjKHnaTy+3jb5J8XcGnc+fpROpmJLVJNOpgYgmD3kzBMt7JsIcLEf5EeVU= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Byungchul, kernel test robot noticed the following build errors: [auto build test ERROR on tip/sched/core] [also build test ERROR on tip/x86/core tip/x86/mm v6.6] [cannot apply to akpm-mm/mm-everything linus/master next-20231109] [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/Byungchul-Park/mm-rmap-Recognize-read-only-TLB-entries-during-batched-TLB-flush/20231109-163706 base: tip/sched/core patch link: https://lore.kernel.org/r/20231109045908.54996-3-byungchul%40sk.com patch subject: [v4 2/3] mm: Defer TLB flush by keeping both src and dst folios at migration config: um-allnoconfig (https://download.01.org/0day-ci/archive/20231110/202311100211.UAqu6dj7-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231110/202311100211.UAqu6dj7-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/202311100211.UAqu6dj7-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/um/kernel/asm-offsets.c:1: In file included from arch/x86/um/shared/sysdep/kernel-offsets.h:5: In file included from include/linux/crypto.h:17: In file included from include/linux/slab.h:16: In file included from include/linux/gfp.h:7: In file included from include/linux/mmzone.h:22: >> include/linux/mm_types.h:1416:35: error: field has incomplete type 'struct arch_tlbflush_unmap_batch' 1416 | struct arch_tlbflush_unmap_batch arch; | ^ include/linux/mm_types.h:1416:9: note: forward declaration of 'struct arch_tlbflush_unmap_batch' 1416 | struct arch_tlbflush_unmap_batch arch; | ^ In file included from arch/um/kernel/asm-offsets.c:1: arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for function 'foo' [-Wmissing-prototypes] 9 | void foo(void) | ^ arch/x86/um/shared/sysdep/kernel-offsets.h:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 9 | void foo(void) | ^ | static 1 warning and 1 error generated. make[3]: *** [scripts/Makefile.build:116: arch/um/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1202: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:234: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +1416 include/linux/mm_types.h 1401 1402 struct migrc_req { 1403 /* 1404 * folios pending for TLB flush 1405 */ 1406 struct list_head folios; 1407 1408 /* 1409 * for hanging to the associated numa node 1410 */ 1411 struct llist_node llnode; 1412 1413 /* 1414 * architecture specific data for batched TLB flush 1415 */ > 1416 struct arch_tlbflush_unmap_batch arch; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki