Re: [PATCH 1/1] arch/um: fix forward declaration for vmalloc

From: Richard Weinberger
Date: Mon Apr 22 2024 - 16:11:30 EST


----- Ursprüngliche Mail -----
> Von: "Suren Baghdasaryan" <surenb@xxxxxxxxxx>
> Betreff: [PATCH 1/1] arch/um: fix forward declaration for vmalloc

> Patch [1] replaced vmalloc() function with a new definition but it did
> not adjust the forward declaration used in UML architecture. Change it
> to act as before.
> Note that this prevents the vmalloc() allocations in __wrap_malloc()
> from being accounted. If accounting here is critical, we will have
> to remove this forward declaration and include vmalloc.h, however
> that would pull in more dependencies and would require introducing more
> architecture-specific headers, like asm/bug.h, asm/rwonce.h, etc.
> This is likely the reason why this forward declaration was introduced
> in the first place.
>
> [1] https://lore.kernel.org/all/20240321163705.3067592-31-surenb@xxxxxxxxxx/
>
> Fixes: 576477564ede ("mm: vmalloc: enable memory allocation profiling")

This commit id is not in Linus tree.
Do I miss something?

Thanks,
//richard