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 X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB922C4338F for ; Thu, 29 Jul 2021 02:03:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9BEAE6056C for ; Thu, 29 Jul 2021 02:03:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233286AbhG2CDc (ORCPT ); Wed, 28 Jul 2021 22:03:32 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7762 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233162AbhG2CDb (ORCPT ); Wed, 28 Jul 2021 22:03:31 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GZtvZ3zN8zYhCM; Thu, 29 Jul 2021 09:57:30 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 29 Jul 2021 10:03:19 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 29 Jul 2021 10:03:19 +0800 Subject: Re: [PATCH v2 2/7] kallsyms: Fix address-checks for kernel related range To: Steven Rostedt CC: , , , , , , , , , , , Sergey Senozhatsky , "Petr Mladek" , Sergey Senozhatsky References: <20210728081320.20394-1-wangkefeng.wang@huawei.com> <20210728081320.20394-3-wangkefeng.wang@huawei.com> <20210728104642.7ae75442@oasis.local.home> From: Kefeng Wang Message-ID: <637cd290-ecda-2727-519a-12147a92b01e@huawei.com> Date: Thu, 29 Jul 2021 10:03:18 +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: <20210728104642.7ae75442@oasis.local.home> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On 2021/7/28 22:46, Steven Rostedt wrote: > On Wed, 28 Jul 2021 16:13:15 +0800 > Kefeng Wang wrote: > >> The is_kernel_inittext/is_kernel_text/is_kernel function should not >> include the end address(the labels _einittext, _etext and _end) when >> check the address range, the issue exists since Linux v2.6.12. >> >> Cc: Arnd Bergmann >> Cc: Sergey Senozhatsky >> Cc: Petr Mladek >> Acked-by: Sergey Senozhatsky >> Reviewed-by: Petr Mladek >> Signed-off-by: Kefeng Wang > Reviewed-by: Steven Rostedt (VMware) Thanks. > > -- Steve >