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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74BE7C001B0 for ; Tue, 15 Aug 2023 06:16:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235145AbjHOGPn (ORCPT ); Tue, 15 Aug 2023 02:15:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235042AbjHOGOp (ORCPT ); Tue, 15 Aug 2023 02:14:45 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 831B81FC2 for ; Mon, 14 Aug 2023 23:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692080078; x=1723616078; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QnWiRphtPU3i+LqH1qZ/nHmTkuB6LLGJJ2KyWyPY8YM=; b=DKBqBIFVYdlSGRoXHVijayr/DO1o0EB3NB24EaaX2hLySJohiXDTkEKJ dkeOeu89AcEZsukYkuRap/4QSn+ViUeAly+BuQZC/0YHMO7yzEwCpO1bl MnVyYg0/c2mv0eJgY7ldiliTpvOpDGtdYOjWeCwJhW8dwtMhw1fBuYvI+ Z6ZB8VIJjgufaJiZnhm7RPTRkqFg5aSZLX8toGpALiG4a3G7ibs7Cp8BU fGlRpEGP5ztRKhNdEz5NMID1T+xXSyUEZLU1cCwU6Nq91gG6M5zfBEMYZ 9FwDZhvoz35HvsKbFAdurqM587YZETdLjgVXhAdsXrnZMNx8AE9+SY6uj w==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="352535472" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="352535472" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 23:14:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="980277564" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="980277564" Received: from lkp-server02.sh.intel.com (HELO b5fb8d9e1ffc) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 14 Aug 2023 23:14:35 -0700 Received: from kbuild by b5fb8d9e1ffc with local (Exim 4.96) (envelope-from ) id 1qVnK6-0000hv-2n; Tue, 15 Aug 2023 06:14:34 +0000 Date: Tue, 15 Aug 2023 14:13:42 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , "Matthew Wilcox (Oracle)" , Jens Axboe , io-uring@vger.kernel.org Subject: Re: [PATCH 3/9] mm: Call free_transhuge_folio() directly from destroy_large_folio() Message-ID: <202308151346.AP0ryW4Y-lkp@intel.com> References: <20230815032645.1393700-4-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230815032645.1393700-4-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hi Matthew, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v6.5-rc6 next-20230809] [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/Matthew-Wilcox-Oracle/io_uring-Stop-calling-free_compound_page/20230815-112847 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20230815032645.1393700-4-willy%40infradead.org patch subject: [PATCH 3/9] mm: Call free_transhuge_folio() directly from destroy_large_folio() config: m68k-randconfig-r006-20230815 (https://download.01.org/0day-ci/archive/20230815/202308151346.AP0ryW4Y-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230815/202308151346.AP0ryW4Y-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/202308151346.AP0ryW4Y-lkp@intel.com/ All errors (new ones prefixed by >>): mm/page_alloc.c: In function 'destroy_large_folio': >> mm/page_alloc.c:615:17: error: implicit declaration of function 'free_transhuge_folio' [-Werror=implicit-function-declaration] 615 | free_transhuge_folio(folio); | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/free_transhuge_folio +615 mm/page_alloc.c 604 605 void destroy_large_folio(struct folio *folio) 606 { 607 enum compound_dtor_id dtor = folio->_folio_dtor; 608 609 if (folio_test_hugetlb(folio)) { 610 free_huge_page(folio); 611 return; 612 } 613 614 if (folio_test_transhuge(folio) && dtor == TRANSHUGE_PAGE_DTOR) { > 615 free_transhuge_folio(folio); 616 return; 617 } 618 619 VM_BUG_ON_FOLIO(dtor >= NR_COMPOUND_DTORS, folio); 620 compound_page_dtors[dtor](&folio->page); 621 } 622 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki