Re: [PATCH v1] list: test: Test the klist structure

From: Brendan Higgins
Date: Wed Mar 29 2023 - 20:11:37 EST


On Wed, Mar 29, 2023 at 7:07 AM Sadiya Kazi <sadiyakazi@xxxxxxxxxx> wrote:
>
> Add KUnit tests to the klist linked-list structure.
> These perform testing for different variations of node add
> and node delete in the klist data structure (<linux/klist.h>).
>
> Limitation: Since we use a static global variable, and if
> multiple instances of this test are run concurrently, the test may fail.
>
> Signed-off-by: Sadiya Kazi <sadiyakazi@xxxxxxxxxx>

Looks good!

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>