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 8B065C48297 for ; Fri, 9 Feb 2024 17:40:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0A7196B0074; Fri, 9 Feb 2024 12:40:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 057D96B0075; Fri, 9 Feb 2024 12:40:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E61676B0078; Fri, 9 Feb 2024 12:40:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id D30896B0074 for ; Fri, 9 Feb 2024 12:40:43 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 7470E161060 for ; Fri, 9 Feb 2024 17:40:43 +0000 (UTC) X-FDA: 81772980366.18.28EB901 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf02.hostedemail.com (Postfix) with ESMTP id D9A288000E for ; Fri, 9 Feb 2024 17:40:40 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=HRHO5f5a; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707500441; a=rsa-sha256; cv=none; b=GW0ppukSDMZzTDiSqR+S8nAkuVyRu3Ei03rIvUDZ85QyB7W3+cUdzgWx2MHPd9aMwIEd0s x3BlkCjaapTlwbDwDxd6+Vz/pWXd/NsTuJKoBaH3qsRW+X6I8bgAtQJNlOvfIf++UHaE2H 4CFY+6k3laXmXW4E2MmAZcZ4muhNInQ= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=HRHO5f5a; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707500441; 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:in-reply-to:references:references:dkim-signature; bh=+QkmuWHiWg+r5r5Lf8qvj62nnbc+VcigVzGeGmGnhjE=; b=WzgrcXAumMgQoRwQQqUSHF9r1OwjMFmj9xt5rIoCBnDp5gOdoaZB0QvD1hhSnnh2Q5mF8P vxShlh64T8V3hdRf232LogWcFjKD83waxwLjKM1fM8wvhaGW3N1zPweIAXWhNWHKbW+1zK sB+BO2vJr0ddXvneoqGyazeNrtz8BnA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707500441; x=1739036441; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=o8b3GPwcypa+9hVIVmQX9pFn46G5rI+gSuxMV22E/pc=; b=HRHO5f5aXXOZ5PIifjCyc5F8OmKCOiULMaJm81Folqd7sEnYCbWH0d9k ahEGgQmURDhrz3MJauvuazrq2cNKZSag6T56sRPsr6+bN1Xo6lGbDcH7Z 5yMAp5c3S+p4Twkt3iPhVDGiDoJ4fV1MJtdlvfE0QGBeQxDFe3qfPKunj Ljnr/qIgarfRJ17e9QvlRDFPDE+Vz6Naya+PkWoxoCVnOV1HuSSELc+rE fSKZKnDdYWurR9xU/4l5Xj8GgsstPtdc88pen5BTy+GXcDf5x8Obp48bq VRziWymsvlx2YL5opYumByd2iQM2jqG2lINPIicHpU0ExRPQnsO5d46px Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10979"; a="23948250" X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="23948250" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 09:40:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="6637123" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 09 Feb 2024 09:40:36 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rYUrZ-0004z0-1p; Fri, 09 Feb 2024 17:40:33 +0000 Date: Sat, 10 Feb 2024 01:39:54 +0800 From: kernel test robot To: Oscar Salvador , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, Michal Hocko , Vlastimil Babka , Marco Elver , Andrey Konovalov , Alexander Potapenko , Oscar Salvador Subject: Re: [PATCH v7 1/4] lib/stackdepot: Move stack_record struct definition into the header Message-ID: <202402100110.8JfjkMjh-lkp@intel.com> References: <20240208234539.19113-2-osalvador@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240208234539.19113-2-osalvador@suse.de> X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: D9A288000E X-Stat-Signature: zxombeb9q5m1dxqdhrkwn78kpcfngm6w X-Rspam-User: X-HE-Tag: 1707500440-829254 X-HE-Meta: U2FsdGVkX18hdpih4s0KtuhFv7u0mxEZp0kMj9YZneD0e4n40xmyX7AiRV5BNKvdPKKpHQvBkFtAkFs3WUbew9rgSIOTSKbUlzz4YbVwAoXF0uVD/a8yJB8adRpWG9dDmirqyG7wICvzeyInLXF+27cOku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jUg9xixTpCUdd2GqMhfFNMeMHIzARgGJWhrmwDD7efthOB0r0EsqQBUPQ14Vu4uko7bch2HWey7do1quA/49xWUEG1HwnhF/XoM2Tnaue/rW2bXsDzWO8Dupi5ay4NM6EX+2NFcYZRdepoo9/N4owggz3mcrQLR8LIt1UuakxmwfHIfQJJ 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: Hi Oscar, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-nonmm-unstable] [also build test ERROR on linus/master v6.8-rc3] [cannot apply to akpm-mm/mm-everything next-20240209] [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/Oscar-Salvador/lib-stackdepot-Move-stack_record-struct-definition-into-the-header/20240209-074611 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable patch link: https://lore.kernel.org/r/20240208234539.19113-2-osalvador%40suse.de patch subject: [PATCH v7 1/4] lib/stackdepot: Move stack_record struct definition into the header config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240210/202402100110.8JfjkMjh-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240210/202402100110.8JfjkMjh-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/202402100110.8JfjkMjh-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/page_ext.h:7, from include/linux/mm.h:22, from include/linux/pid_namespace.h:7, from include/linux/ptrace.h:10, from arch/openrisc/kernel/asm-offsets.c:28: >> include/linux/stackdepot.h:59:39: error: 'CONFIG_STACKDEPOT_MAX_FRAMES' undeclared here (not in a function) 59 | unsigned long entries[CONFIG_STACKDEPOT_MAX_FRAMES]; /* Frames */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:116: arch/openrisc/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1191: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/CONFIG_STACKDEPOT_MAX_FRAMES +59 include/linux/stackdepot.h 51 52 struct stack_record { 53 struct list_head hash_list; /* Links in the hash table */ 54 u32 hash; /* Hash in hash table */ 55 u32 size; /* Number of stored frames */ 56 union handle_parts handle; /* Constant after initialization */ 57 refcount_t count; 58 union { > 59 unsigned long entries[CONFIG_STACKDEPOT_MAX_FRAMES]; /* Frames */ 60 struct { 61 /* 62 * An important invariant of the implementation is to 63 * only place a stack record onto the freelist iff its 64 * refcount is zero. Because stack records with a zero 65 * refcount are never considered as valid, it is safe to 66 * union @entries and freelist management state below. 67 * Conversely, as soon as an entry is off the freelist 68 * and its refcount becomes non-zero, the below must not 69 * be accessed until being placed back on the freelist. 70 */ 71 struct list_head free_list; /* Links in the freelist */ 72 unsigned long rcu_state; /* RCU cookie */ 73 }; 74 }; 75 }; 76 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki