# Re: \[PATCH v2 2/7\] kallsyms: Fix address-checks for kernel related range

- From: Kefeng Wang \<hidden\>
- Date: 2021-07-29 02:03:33 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/07/1461533
- Thread: https://ratatoskr.run/linux-arch/2021/07/1460478/t.md

```text

On 2021/7/28 22:46, Steven Rostedt wrote:
> On Wed, 28 Jul 2021 16:13:15 +0800
> Kefeng Wang [ref] 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 <arnd@arndb.de>
>> Cc: Sergey Senozhatsky <redacted>
>> Cc: Petr Mladek <pmladek@suse.com>
>> Acked-by: Sergey Senozhatsky <senozhatsky@chromium.org>
>> Reviewed-by: Petr Mladek <pmladek@suse.com>
>> Signed-off-by: Kefeng Wang <redacted>
> Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

Thanks.

>
> -- Steve
>
```
