Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6287712rwr; Mon, 1 May 2023 20:38:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56UvyKeUcBeW3hCjLjqzDJGaZVQxwdQYqVSbS6iuIa79luv2T3Q8GK3cufaVStv5QU6pHi X-Received: by 2002:a05:6a00:1515:b0:63d:6744:8cae with SMTP id q21-20020a056a00151500b0063d67448caemr19317796pfu.2.1682998732331; Mon, 01 May 2023 20:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682998732; cv=none; d=google.com; s=arc-20160816; b=dE31zUvwwyLV79b+puTPUTWHU5wbi9ht46TCEmEYPzHY1SFgMII07Xs+0f/Ny5myIL KOx5l4AOwkX6CMTdYzuSx0FfgGqBPBGEzBxwHxTHmYRuLj0vXGAEyhvxUT0NXdCCjvLW YJU9wjNEtFmLExW7iqHrpgYhT7HtkMMPCVbRCujLGPEURXjHC3qgVnkvpywzD/GUIdPW voNHO/z+MiQlgQ15bF5ikQKHfdSwvQdoQUCKnINEim1usD06xQrNtnZtzB7adkFYVDRI otaOYKu1VCERuHbc223ZX3n6RKhpmWvetcAXat2g4EIDJ3qAxMdUq+FwMPT1yx8afCBZ GnlA== 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=g65dzJFeDySva5cVxLBSuVIyUoQ4tVZ5UwLChxvPvHQ=; b=yIzVQSdvYst7J5vosixgkbBS1xUuR3yqLuisYefo1CjBC+AIi/ZyttnLic8AisJTER Lz4r608GQjBMX2UZB1jg8h1TJGLbCTTDpEgxkdLAhRQqMa3sl2fHzzSioD3tJMDKzkZ+ VhqyV41FFQp1NofE7xKRiY6P8QBH0vJS5QoUC5atH7Z8QwhpxAg6qgIEGY/KEv+R/jL5 pZ2dDJU/K6PVBkIKqeKLggW6smTkY4EMPLAOJp6C4lNqjuY/nme1xLPG9bo3BgpxJqAc Wb/fQudzkjaLs2W/NqUG2x2Ycq0bUCOUkL9WHMSud4tExcFyq+Ir4StvwI1isNNf96Ww vfrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XI71fl8K; 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 m1-20020a625801000000b0064122441638si10801179pfb.276.2023.05.01.20.38.37; Mon, 01 May 2023 20:38:52 -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=XI71fl8K; 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 S231808AbjEBDeW (ORCPT + 99 others); Mon, 1 May 2023 23:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbjEBDeU (ORCPT ); Mon, 1 May 2023 23:34:20 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A9A3C19 for ; Mon, 1 May 2023 20:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682998458; x=1714534458; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+6dA6KdIKutJxGniT6UriJY7gWQ2DD7E0/cszDATHKI=; b=XI71fl8KpqOHUUtsMawlymTY7FfLmsTQUT0CwoIsGK4qTMv3oxFtePZV TBNJqmeFydwzDSVAT988c2M0/wkbas2wUCpE5BOkGVUjHuJstWRy+0QoZ P7ZHPNAifCQcPJZDBRs1hVmtMp5N0/4IWnmI25F2SL2IfFVg/v84gMF6y Bv2dUK+JpH8H7huGLQCZbOVXzK7uS3HtmgVII/CavurSqYeqLyr4hNd21 //H0jhlPoLVn0DaEZHsvmCZ8MZbTxkg98H/YCp0vof+ouSO0dt1ZDfDAF RcdkUOsUmjA55ec2x+M5EjtyMkWMvgdLGKzs6anRHpJJZTstty9ctGw3t w==; X-IronPort-AV: E=McAfee;i="6600,9927,10697"; a="413734247" X-IronPort-AV: E=Sophos;i="5.99,243,1677571200"; d="scan'208";a="413734247" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2023 20:34:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10697"; a="1025889706" X-IronPort-AV: E=Sophos;i="5.99,243,1677571200"; d="scan'208";a="1025889706" Received: from lkp-server01.sh.intel.com (HELO e3434d64424d) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 01 May 2023 20:34:10 -0700 Received: from kbuild by e3434d64424d with local (Exim 4.96) (envelope-from ) id 1ptgmI-0000oK-0s; Tue, 02 May 2023 03:34:10 +0000 Date: Tue, 2 May 2023 11:33:29 +0800 From: kernel test robot To: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Jason Gunthorpe , Jens Axboe , Matthew Wilcox , Dennis Dalessandro , Leon Romanovsky , Christian Benvenuti , Nelson Escobar , Bernard Metzler , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Bjorn Topel , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Brauner Subject: Re: [PATCH v6 3/3] mm/gup: disallow FOLL_LONGTERM GUP-fast writing to file-backed mappings Message-ID: <202305021142.vBYXxxEh-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,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 Hi Lorenzo, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Stoakes/mm-mmap-separate-writenotify-and-dirty-tracking-logic/20230502-071520 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/dee4f4ad6532b0f94d073da263526de334d5d7e0.1682981880.git.lstoakes%40gmail.com patch subject: [PATCH v6 3/3] mm/gup: disallow FOLL_LONGTERM GUP-fast writing to file-backed mappings config: arm-randconfig-r013-20230502 (https://download.01.org/0day-ci/archive/20230502/202305021142.vBYXxxEh-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b1465cd49efcbc114a75220b153f5a055ce7911f) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/intel-lab-lkp/linux/commit/602bb9fab888bd9176b8eeb80a0da68499c343ed git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Lorenzo-Stoakes/mm-mmap-separate-writenotify-and-dirty-tracking-logic/20230502-071520 git checkout 602bb9fab888bd9176b8eeb80a0da68499c343ed # 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=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305021142.vBYXxxEh-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/gup.c:114:49: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] static bool stabilise_mapping_rcu(struct folio *) ^ 1 warning generated. vim +114 mm/gup.c 108 109 static void unlock_rcu(void) 110 { 111 rcu_read_unlock(); 112 } 113 #else > 114 static bool stabilise_mapping_rcu(struct folio *) 115 { 116 return true; 117 } 118 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests