Messages in this thread | | | Date | Wed, 24 Nov 2021 10:16:16 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH] trace: Fix a kmemleak noise |
| |
On Wed, 24 Nov 2021 14:08:01 +0000 Chen Jun <chenjun102@huawei.com> wrote:
> The reason is elts->pages[i] is alloced by get_zeroed_page. > and kmemleak will not scan the area alloced by get_zeroed_page. > The address stored in elts->pages will be regarded as leaked.
Why doesn't kmemleak scan get_zeroed_page? And if that's the case, how does all the other locations in the kernel that call get_zeroed_page handle this?
-- Steve
| |