Re: [PATCH v2 5/7] kallsyms: Rename is_kernel() and is_kernel_text()

From: Steven Rostedt
Date: Wed Jul 28 2021 - 11:28:42 EST


On Wed, 28 Jul 2021 16:13:18 +0800
Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:

> The is_kernel[_text]() function check the address whether or not
> in kernel[_text] ranges, also they will check the address whether
> or not in gate area, so use better name.

Do you know what a gate area is?

Because I believe gate area is kernel text, so the rename just makes it
redundant and more confusing.

-- Steve