Re: [PATCH 1/2] mm/vmalloc: Add a safer version of find_vm_area() for debug

From: Joel Fernandes
Date: Wed Aug 30 2023 - 14:56:46 EST


Hi Christoph,

On Wed, Aug 30, 2023 at 8:48 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Wed, Aug 30, 2023 at 11:03:59AM +0000, Joel Fernandes (Google) wrote:
> > It is unsafe to dump vmalloc area information when trying to do so from
> > some contexts. Add a safer trylock version of the same function to do a
> > best-effort VMA finding and use it from vmalloc_dump_obj().
>
> Seems like 2/2 to actually use this is missing?

1/2 itself uses it.

And then 2/2 is here which does additional improvement courtesy of Zqiang:
https://lore.kernel.org/all/20230830110402.386898-2-joel@xxxxxxxxxxxxxxxxx/

I used git send-email with cc-cmd set to get_maintainer.pl script.

thanks,

- Joel