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 82FD1C433F5 for ; Sat, 8 Oct 2022 07:09:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 027DF6B0073; Sat, 8 Oct 2022 03:09:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F1BAA6B0074; Sat, 8 Oct 2022 03:09:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DE1CC6B0075; Sat, 8 Oct 2022 03:09:17 -0400 (EDT) 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 CD6666B0073 for ; Sat, 8 Oct 2022 03:09:17 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 8C3331408E2 for ; Sat, 8 Oct 2022 07:09:17 +0000 (UTC) X-FDA: 79996905954.11.06D58E9 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf27.hostedemail.com (Postfix) with ESMTP id 662EE4001B for ; Sat, 8 Oct 2022 07:09:15 +0000 (UTC) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Mkx4H3h6hzHtvW; Sat, 8 Oct 2022 15:04:15 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 8 Oct 2022 15:09:11 +0800 Received: from [10.174.178.55] (10.174.178.55) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 8 Oct 2022 15:09:10 +0800 Subject: Re: [PATCH v6 11/11] kallsyms: Add self-test facility To: kernel test robot , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , , , "Masahiro Yamada" , Alexei Starovoitov , Jiri Olsa , Kees Cook , Andrew Morton , Luis Chamberlain , , Steven Rostedt , "Ingo Molnar" CC: , Linux Memory Management List References: <20220924122051.362-12-thunder.leizhen@huawei.com> <202210060828.LgrzwmRo-lkp@intel.com> From: "Leizhen (ThunderTown)" Message-ID: <1f7e5ebd-8345-41cd-ba9e-c4cef28c5574@huawei.com> Date: Sat, 8 Oct 2022 15:09:10 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <202210060828.LgrzwmRo-lkp@intel.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.55] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665212956; a=rsa-sha256; cv=none; b=MtFM+Lyy7mdKWnLynHmgQNfd6HGY/vY/YMkwfCA8nFxJ8Zgs2TRdqfrbmwhu/V6nnqrDCN 6vESUD7q+FzjzXUVd6jqe70WXq+IJ2nw+sDesfvnxs7aZdxISnCzs9Xzn9+vdif9EAFrfj M5m9nUWrDSx7npQ5WxYamyG/ChzkHso= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; spf=pass (imf27.hostedemail.com: domain of thunder.leizhen@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=thunder.leizhen@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665212956; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ufvwchniAX+4PgUQTCNA4gZNEpDqu+Gj44v8ZXKMPQE=; b=ObFIqlSQ4Lyl6W/HNcIKtm+MwJN/YC+pEttF3uegQq9u+A6UEAjHKN+CU64EtuoslVcn5h xP+qJePRYSYH/waW0j+tLCXCBC+MTLPeRb1mIjwRMtj9J6/+NbCHsLUi9aVmmcuS2+tfCv fZ568x79sOlTIYap8Ri1ye3ItE8ClME= Authentication-Results: imf27.hostedemail.com; dkim=none; spf=pass (imf27.hostedemail.com: domain of thunder.leizhen@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=thunder.leizhen@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Stat-Signature: 3j1bc7gwutdjgjzwwjafuj7ujw54qczs X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 662EE4001B X-Rspam-User: X-HE-Tag: 1665212955-833199 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: On 2022/10/6 8:24, kernel test robot wrote: > Hi Zhen, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on mcgrof/modules-next] > [also build test ERROR on rostedt-trace/for-next v6.0] > [cannot apply to linus/master next-20221005] > [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/Zhen-Lei/kallsyms-Optimizes-the-performance-of-lookup-symbols/20220924-202522 > base: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git modules-next > config: i386-allyesconfig > compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 > reproduce (this is a W=1 build): > # https://github.com/intel-lab-lkp/linux/commit/43e45bdbf95415fc26a9d55e7db43a75bdb8e99a > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Zhen-Lei/kallsyms-Optimizes-the-performance-of-lookup-symbols/20220924-202522 > git checkout 43e45bdbf95415fc26a9d55e7db43a75bdb8e99a > # save the config file > mkdir build_dir && cp config build_dir/.config > make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > ld: kernel/kallsyms_selftest.o: in function `test_perf_kallsyms_lookup_name': >>> kallsyms_selftest.c:(.text.unlikely+0x5e3): undefined reference to `__udivdi3' > ld: kernel/kallsyms_selftest.o: in function `test_kallsyms_compression_ratio': > kallsyms_selftest.c:(.text.unlikely+0x771): undefined reference to `__udivdi3' > OK, thanks, I should use do_div() to calculate percentage. -- Regards, Zhen Lei