Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1260559iof; Tue, 7 Jun 2022 01:51:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIDYLpLjFZnsYNeQEFj2Ddp1oD5bNOyiCyPiyu/H5XrhBFQ5XXK2lNG0SeyqVj8qEEou/Y X-Received: by 2002:a17:907:868f:b0:702:f865:55de with SMTP id qa15-20020a170907868f00b00702f86555demr25531356ejc.24.1654591887628; Tue, 07 Jun 2022 01:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654591887; cv=none; d=google.com; s=arc-20160816; b=QfjYPjHAOpib4fS+cASuWQAnef7iqK389Jcl4Ih+Bq/8of35lCF8AVX5WryylRf98i tH4UCwkggopBFLMyLm8umudjYLqVtDMsQzfqupHR+0ajjrIZkxAXBCzEzG9Tmnzlfor5 RpTcjSBPpz5Vjk4411iIfRHow8bSIlC+0c+jovKVV+iHICGOplk3jQwKoCkc8urwEdnq U4an4gWhwz2vyxpT3rACAgJL4awepsFVk1jLjG9oGEUFnZegbYRSgyuzrOin1VDKEPTM op9blgL0cwg9/xG+yh6boJqcVfZcVPzDbZrBWOSIx+OXte4okXnRF0mrjy4jzMBRh9mF ZQUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=khFVcW3MLS7SoJTErp0Ezt99EakPVeB/RbJxON0w64M=; b=a3X2JcKY9hvG0gIoXSCJwTtBo5e59snsX+NCJSWNCE0OrUO8CLP8KERNuFRAJWiIJE tyxeguAF/7yUHtLVbOp2Wbkk0LABVqxMskdfpW797PvLk36ytwKKO6/Crz3NKPXY8M+L 51C+PELDOdHVQddrC+pxgpn225EVaAfNsR0zlowwoAaTcL4MvhYiqTakAM+qjuaEiZEo EDHOGg/+OyxtUCl8XNj7/0mERLCtidRWU9rdIXUAhE2C8jpjXigHvToh3o6iqTR1LMZu rO9l7Tv1KXbRgXJEdu2Dm54+zUQtt+n1YCpwWUK+xjCnD7SfLtCYTL47n3IW0YiqWVuT CwQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QKKK+0by; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 r4-20020a056402034400b0042b633ca6besi16733090edw.551.2022.06.07.01.51.00; Tue, 07 Jun 2022 01:51:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=QKKK+0by; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 S236935AbiFGGNy (ORCPT + 99 others); Tue, 7 Jun 2022 02:13:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbiFGGNx (ORCPT ); Tue, 7 Jun 2022 02:13:53 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C35C9BC6DF; Mon, 6 Jun 2022 23:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654582431; x=1686118431; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pViZck3K1Rq0vF4B9iREn005L3q1DYrrwNaeY+v9f0c=; b=QKKK+0byDSz1oDYDQEy0NxbMp9GB7AJHHAgkEbJKEqqdIzvCnxvOVR3F pVB/L1QThNbZR0pE7ABG8PH0GA8n0QVT/hiDebOWw0UUI3RVidqB6h0hr fhKWWYtwTKJX28nMgds1JbInUg3GgllVvV53505tfavHMvHwQAWwuJnrG ravYW1EfUwogg/PjR3GcSeUbTvXjVSf/sSL6poHhmlFOJvY3jTfGhdSWL ixY7SqGrJMEbuBla9Sf3PDmNN/gbhZDYV1Fhufy3XjqS+kX//PknmvFOf Sa6GtkIY8Itzz86d4Xfl//y+BnDPzMg3Z/psOmOi9lm/yGIBFonxb2az5 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="277338689" X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="277338689" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 23:13:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="614746862" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 06 Jun 2022 23:13:44 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nySTI-000DQ5-17; Tue, 07 Jun 2022 06:13:44 +0000 Date: Tue, 7 Jun 2022 14:13:26 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Cc: kbuild-all@lists.01.org, "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, ocfs2-devel@oss.oracle.com, linux-mtd@lists.infradead.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 14/20] hugetlb: Convert to migrate_folio Message-ID: <202206071414.41wGG8fp-lkp@intel.com> References: <20220606204050.2625949-15-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606204050.2625949-15-willy@infradead.org> X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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-ext4@vger.kernel.org Hi "Matthew, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.19-rc1 next-20220607] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [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] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: ia64-randconfig-r015-20220605 (https://download.01.org/0day-ci/archive/20220607/202206071414.41wGG8fp-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 11.3.0 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 # https://github.com/intel-lab-lkp/linux/commit/b038962c9c8c2ab77c71dfba24356ce24bd7a242 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout b038962c9c8c2ab77c71dfba24356ce24bd7a242 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash fs/hugetlbfs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): fs/hugetlbfs/inode.c: In function 'hugetlbfs_migrate_folio': >> fs/hugetlbfs/inode.c:990:17: error: implicit declaration of function 'folio_migrate_copy' [-Werror=implicit-function-declaration] 990 | folio_migrate_copy(dst, src); | ^~~~~~~~~~~~~~~~~~ >> fs/hugetlbfs/inode.c:992:17: error: implicit declaration of function 'folio_migrate_flags'; did you mean 'folio_mapping_flags'? [-Werror=implicit-function-declaration] 992 | folio_migrate_flags(dst, src); | ^~~~~~~~~~~~~~~~~~~ | folio_mapping_flags cc1: some warnings being treated as errors vim +/folio_migrate_copy +990 fs/hugetlbfs/inode.c 972 973 static int hugetlbfs_migrate_folio(struct address_space *mapping, 974 struct folio *dst, struct folio *src, 975 enum migrate_mode mode) 976 { 977 int rc; 978 979 rc = migrate_huge_page_move_mapping(mapping, dst, src); 980 if (rc != MIGRATEPAGE_SUCCESS) 981 return rc; 982 983 if (hugetlb_page_subpool(&src->page)) { 984 hugetlb_set_page_subpool(&dst->page, 985 hugetlb_page_subpool(&src->page)); 986 hugetlb_set_page_subpool(&src->page, NULL); 987 } 988 989 if (mode != MIGRATE_SYNC_NO_COPY) > 990 folio_migrate_copy(dst, src); 991 else > 992 folio_migrate_flags(dst, src); 993 994 return MIGRATEPAGE_SUCCESS; 995 } 996 -- 0-DAY CI Kernel Test Service https://01.org/lkp