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 550A7C433EF for ; Fri, 29 Apr 2022 23:16:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 790F36B0073; Fri, 29 Apr 2022 19:16:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 71B726B0072; Fri, 29 Apr 2022 19:16:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3E4E46B0073; Fri, 29 Apr 2022 19:16:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id 208BB6B0071 for ; Fri, 29 Apr 2022 19:16:31 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id E9FB928B06 for ; Fri, 29 Apr 2022 23:16:30 +0000 (UTC) X-FDA: 79411477740.11.33B7CF2 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf15.hostedemail.com (Postfix) with ESMTP id BEF03A0061 for ; Fri, 29 Apr 2022 23:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651274190; x=1682810190; h=date:from:to:cc:subject:message-id:mime-version; bh=SkoKmM0MKCxM4R400j5vwKOc0q/BGdAfbOI57vblFHY=; b=GzpQP9Br6qdrCRhSWqzIcbHhZsLonXN/oIUePXxYqlcMEIjgt6TgKowm YNL3oVxsoy7gFvsuGT4DeZf6wZ615wAIcl1NG7h5TAGX8/m9Gh8LxG/L7 CMmHM22u7Aq+7cUhKODZWSSPeyW0bKCHumDYxnwYMq04Z8UlNYn4i8krd guqfr+iBb6zxIAtXvSAKN7Z1y18OSDqP3NxnpnYYg9DOzmO3bOQ9gccuY TM6AkHK7C947LJ6ioz7dquvbIFTUuMLeMEEn20V1JZ5ezlhPqLbEWntot 29sUhfsd4sDMTJHC1qWmsCD7FPJd79crO5kVGAfLVT2EdbtROFp9AGvkT g==; X-IronPort-AV: E=McAfee;i="6400,9594,10332"; a="266623991" X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="266623991" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 16:16:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="662580069" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 29 Apr 2022 16:16:26 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nkZqb-0006g0-EW; Fri, 29 Apr 2022 23:16:25 +0000 Date: Sat, 30 Apr 2022 07:15:36 +0800 From: kernel test robot To: "Liam R. Howlett" Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Johannes Weiner , "Matthew Wilcox (Oracle)" , Andrew Morton , Linux Memory Management List Subject: [hnaz-mm:master 280/410] lib/maple_tree.c:4207:20: warning: stack frame size (1088) exceeds limit (1024) in 'mas_wr_modify' Message-ID: <202204300731.xnlH7nv1-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: BEF03A0061 Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=GzpQP9Br; spf=none (imf15.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.65) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Stat-Signature: n89jtynn7nibg9awwgsrirr5g8pcyeng X-HE-Tag: 1651274183-505722 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: tree: https://github.com/hnaz/linux-mm master head: bf4803abaa3e9d2fa207c0675a2d2abf0fd44f66 commit: c11c433e3be4e5bef47f0a62a72064e18708e952 [280/410] Maple Tree: add new data structure config: arm-moxart_defconfig (https://download.01.org/0day-ci/archive/20220430/202204300731.xnlH7nv1-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 400775649969b9baf3bc2a510266e7912bb16ae9) 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/hnaz/linux-mm/commit/c11c433e3be4e5bef47f0a62a72064e18708e952 git remote add hnaz-mm https://github.com/hnaz/linux-mm git fetch --no-tags hnaz-mm master git checkout c11c433e3be4e5bef47f0a62a72064e18708e952 # 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 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): lib/maple_tree.c:324:20: warning: unused function 'mte_set_full' [-Wunused-function] static inline void mte_set_full(const struct maple_enode *node) ^ lib/maple_tree.c:329:20: warning: unused function 'mte_clear_full' [-Wunused-function] static inline void mte_clear_full(const struct maple_enode *node) ^ >> lib/maple_tree.c:4207:20: warning: stack frame size (1088) exceeds limit (1024) in 'mas_wr_modify' [-Wframe-larger-than] static inline void mas_wr_modify(struct ma_wr_state *wr_mas) ^ 3 warnings generated. vim +/mas_wr_modify +4207 lib/maple_tree.c 4206 > 4207 static inline void mas_wr_modify(struct ma_wr_state *wr_mas) 4208 { 4209 unsigned char node_slots; 4210 unsigned char node_size; 4211 struct ma_state *mas = wr_mas->mas; 4212 struct maple_big_node b_node; 4213 4214 /* Direct replacement */ 4215 if (wr_mas->r_min == mas->index && wr_mas->r_max == mas->last) { 4216 rcu_assign_pointer(wr_mas->slots[mas->offset], wr_mas->entry); 4217 if (!!wr_mas->entry ^ !!wr_mas->content) 4218 mas_update_gap(mas); 4219 return; 4220 } 4221 4222 /* Attempt to append */ 4223 node_slots = mt_slots[wr_mas->type]; 4224 node_size = wr_mas->node_end - wr_mas->offset_end + mas->offset + 2; 4225 if (mas->max == ULONG_MAX) 4226 node_size++; 4227 4228 /* slot and node store will not fit, go to the slow path */ 4229 if (unlikely(node_size >= node_slots)) 4230 goto slow_path; 4231 4232 if (wr_mas->entry && (wr_mas->node_end < node_slots - 1) && 4233 (mas->offset == wr_mas->node_end) && mas_wr_append(wr_mas)) { 4234 if (!wr_mas->content || !wr_mas->entry) 4235 mas_update_gap(mas); 4236 return; 4237 } 4238 4239 if ((wr_mas->offset_end - mas->offset <= 1) && mas_wr_slot_store(wr_mas)) 4240 return; 4241 else if (mas_wr_node_store(wr_mas)) 4242 return; 4243 4244 if (mas_is_err(mas)) 4245 return; 4246 4247 slow_path: 4248 memset(&b_node, 0, sizeof(struct maple_big_node)); 4249 mas_store_b_node(wr_mas, &b_node, wr_mas->offset_end); 4250 trace_ma_write(__func__, mas, 0, wr_mas->entry); 4251 mas_commit_b_node(wr_mas, &b_node, wr_mas->node_end); 4252 } 4253 -- 0-DAY CI Kernel Test Service https://01.org/lkp