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 EB1D7C4332F for ; Wed, 13 Dec 2023 22:30:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6E8968D0062; Wed, 13 Dec 2023 17:30:24 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6971A6B0325; Wed, 13 Dec 2023 17:30:24 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 55EA58D0062; Wed, 13 Dec 2023 17:30:24 -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 405FF6B0323 for ; Wed, 13 Dec 2023 17:30:24 -0500 (EST) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 14450120381 for ; Wed, 13 Dec 2023 22:30:24 +0000 (UTC) X-FDA: 81563239968.09.3A71694 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by imf20.hostedemail.com (Postfix) with ESMTP id 4F9481C0022 for ; Wed, 13 Dec 2023 22:30:21 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="b/rBthLq"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 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=1702506622; 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: references:dkim-signature; bh=Myg0NwZEIM5KrQLs04a685VOMUz0nJyE5K8FfjlvWEc=; b=yhoJqp95a+KNwJ7dVJrx1Gofx4S7fOFTvJxOJ3J5xOZZqkwlVcSzHLfVSd6W2CDQ4LpwWR gM4kU8eoooBCvXavGORgOofXEeKSkFzwMX5pYboq+ILAi41luncCTmz+oqcRpQCXsRTscv 0yarbLF/X/PIsm/EwD7Iiy6Og00YjD4= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="b/rBthLq"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702506622; a=rsa-sha256; cv=none; b=zjfY1SCUq/V4iHf2nUfsXGTskm4VRdd0y2w0aFHBlLQ7jwcMuhqrmy++kmGiJPogtViJYt 6y/6M4bmc4xOM90lqeJvrazJT2+moKgPULwbPNZRbuKvTPqulNH+/cOPxAuqZQSC3QdsDq 10zv9+JJws7fy1hCX1UyRe3Qs5/d/+Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702506621; x=1734042621; h=date:from:to:cc:subject:message-id:mime-version; bh=IH2bgUadoX835YZS32Nu3sBkzvFM1nM6t3B/WQS7jYE=; b=b/rBthLqXhzlDn6NYNEQxsbJMnSx7NYacnNj40U6/IiBxEg9olkhDUmL yz10MiYsV3fgSk/La/AmhRKuBP+FxXLFobeFqVHn4gU448FG2tDO+oj/Z vq4MrIjBtVBQwIU2LWYENAKHT+y0+y/HkNFlB5R2CD0q/OVBEE7pDuUop ctM6oZqA0ayGrbmkoMcVjv+/t7QXBO/mjW4i4Xh/2ts+RQvF3w9CbGb8f 3ksOOOyoWsRpQEBgV9pHq0E2QHb7uRz9xqMIaCzNGKTN7CbYF//ocQb8l kYheA+xRH82jK2UL1dlHrGtHLRpMihGYAS+DcTj4gneiScC/OxpGSkhTb Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="392212241" X-IronPort-AV: E=Sophos;i="6.04,274,1695711600"; d="scan'208";a="392212241" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 14:30:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,274,1695711600"; d="scan'208";a="22149655" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 13 Dec 2023 14:30:18 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDXk7-000LDs-0K; Wed, 13 Dec 2023 22:30:15 +0000 Date: Thu, 14 Dec 2023 06:30:05 +0800 From: kernel test robot To: Sidhartha Kumar Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , "Liam R. Howlett" Subject: [akpm-mm:mm-unstable 208/262] lib/maple_tree.c:5506:25: error: no member named 'end' in 'struct ma_state' Message-ID: <202312140605.Er6kw8xG-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4F9481C0022 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: ecgqgqizizkfy9iuxaxya7p87us4nhqj X-HE-Tag: 1702506621-711449 X-HE-Meta: U2FsdGVkX19uCfJPkATXN2Ge5Ohi3T8id8qjM4ODCtEu+EbSaM3RhpYdiLGTn4YzvUmId4x0E5krs+yAh+WzbmbY3Gq3Mv4ZOHxZedRgdg2XREVW3T3J0O2A+JOVp5/N8WAdZKaUH23I4o5JyTYrSkuml4vrUAcbGN3h/JReRNxeJ3lYg+chZoVOI4O0zXSgMoH25myVTo3TqAVsFm67ADP4x8EeNlQY+ERPnFPM6059WL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vsHWdXyrn5TDGgrLe/bak 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: 4d9256c0c56bafd76b8b1517916451e168fae495 commit: 84bda0b24555d3fdf52b56040696ee1ee00700c9 [208/262] maple_tree: do not preallocate nodes for slot stores config: arm-defconfig (https://download.01.org/0day-ci/archive/20231214/202312140605.Er6kw8xG-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312140605.Er6kw8xG-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/202312140605.Er6kw8xG-lkp@intel.com/ Note: the akpm-mm/mm-unstable HEAD 4d9256c0c56bafd76b8b1517916451e168fae495 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): >> lib/maple_tree.c:5506:25: error: no member named 'end' in 'struct ma_state' if ((node_size == mas->end) && ((!mt_in_rcu(mas->tree)) ~~~ ^ 1 error generated. vim +5506 lib/maple_tree.c 5465 5466 /** 5467 * mas_preallocate() - Preallocate enough nodes for a store operation 5468 * @mas: The maple state 5469 * @entry: The entry that will be stored 5470 * @gfp: The GFP_FLAGS to use for allocations. 5471 * 5472 * Return: 0 on success, -ENOMEM if memory could not be allocated. 5473 */ 5474 int mas_preallocate(struct ma_state *mas, void *entry, gfp_t gfp) 5475 { 5476 MA_WR_STATE(wr_mas, mas, entry); 5477 unsigned char node_size; 5478 int request = 1; 5479 int ret; 5480 5481 5482 if (unlikely(!mas->index && mas->last == ULONG_MAX)) 5483 goto ask_now; 5484 5485 mas_wr_store_setup(&wr_mas); 5486 wr_mas.content = mas_start(mas); 5487 /* Root expand */ 5488 if (unlikely(mas_is_none(mas) || mas_is_ptr(mas))) 5489 goto ask_now; 5490 5491 if (unlikely(!mas_wr_walk(&wr_mas))) { 5492 /* Spanning store, use worst case for now */ 5493 request = 1 + mas_mt_height(mas) * 3; 5494 goto ask_now; 5495 } 5496 5497 /* At this point, we are at the leaf node that needs to be altered. */ 5498 /* Exact fit, no nodes needed. */ 5499 if (wr_mas.r_min == mas->index && wr_mas.r_max == mas->last) 5500 return 0; 5501 5502 mas_wr_end_piv(&wr_mas); 5503 node_size = mas_wr_new_end(&wr_mas); 5504 5505 /* Slot store, does not require additional nodes */ > 5506 if ((node_size == mas->end) && ((!mt_in_rcu(mas->tree)) 5507 || (wr_mas.offset_end - mas->offset == 1))) 5508 return 0; 5509 5510 if (node_size >= mt_slots[wr_mas.type]) { 5511 /* Split, worst case for now. */ 5512 request = 1 + mas_mt_height(mas) * 2; 5513 goto ask_now; 5514 } 5515 5516 /* New root needs a singe node */ 5517 if (unlikely(mte_is_root(mas->node))) 5518 goto ask_now; 5519 5520 /* Potential spanning rebalance collapsing a node, use worst-case */ 5521 if (node_size - 1 <= mt_min_slots[wr_mas.type]) 5522 request = mas_mt_height(mas) * 2 - 1; 5523 5524 /* node store, slot store needs one node */ 5525 ask_now: 5526 mas_node_count_gfp(mas, request, gfp); 5527 mas->mas_flags |= MA_STATE_PREALLOC; 5528 if (likely(!mas_is_err(mas))) 5529 return 0; 5530 5531 mas_set_alloc_req(mas, 0); 5532 ret = xa_err(mas->node); 5533 mas_reset(mas); 5534 mas_destroy(mas); 5535 mas_reset(mas); 5536 return ret; 5537 } 5538 EXPORT_SYMBOL_GPL(mas_preallocate); 5539 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki