Re: [PATCH v3 2/4] rust: kvec: implement shrink_to and shrink_to_fit for Vec
From: Shivam Kalra
Date: Sun Feb 08 2026 - 11:16:00 EST
On 07/02/26 22:53, Danilo Krummrich wrote:
> This is the specific heuristic we use for the Vmalloc shrink workaround
> (including when for KVmalloc is_vmalloc_addr() is true) and it doesn't belong
> into the common code path.
>
> But this goes away anyways with the above changes.
Thanks for the review, Danilo!
I understand the suggestion to restructure.
I'll rework the patches accordingly and send v4 in a few days
after giving others time to provide feedback on this version.
Best,
Shivam