Re: [PATCH v7 0/3] Rust allocator and kvec improvements

From: Danilo Krummrich
Date: Thu Jul 31 2025 - 05:01:24 EST


On Thu Jul 31, 2025 at 6:14 AM CEST, David Gow wrote:
> On Thu, 31 Jul 2025 at 10:51, Hui Zhu <hui.zhu@xxxxxxxxx> wrote:
>>
>> From: Hui Zhu <zhuhui@xxxxxxxxxx>
>>
>> This series adds tests and docs for Rust kernel components:
>> Patch 1 adds KUnit tests for allocator alignment guarantees.
>> Patch 2 documents KVec::as_slice with a usage example.
>> Patch 3 simplifies KVec test module naming convention.
>>
>> Both patches are co-developed with Geliang Tang. Based on [1].
>> Tested on x86_64 using KUnit.
>>
>
> This series looks good to me from a KUnit perspective. I've also
> tested it out across a bunch of architectures (UML, x86_64, arm,
> arm64) with no problems.
>
> A few minor notes:
> - You should squash patch 3 into patch 1: there's no need to introduce
> the test with one name only to rename it in a later patch.

The test introduced in patch 1 is not the one renamed in patch 3. :)