Re: [RESEND PATCH 1/2] delayacct: refactor the code to simplify the implementation

From: Balbir Singh
Date: Mon Apr 19 2021 - 03:01:16 EST


On Tue, Apr 13, 2021 at 09:37:26AM +0800, brookxu wrote:
> From: Chunguang Xu <brookxu@xxxxxxxxxxx>
>
> The existing data structure is not very convenient for
> expansion, and part of the code can be saved. Here, try
> to optimize, which can make the code more concise and
> easy to expand.
>
> Signed-off-by: Chunguang Xu <brookxu@xxxxxxxxxxx>

The approach seems to make sense, but the test robot has found
a few issues, can you correct those as applicable please?

Balbir Singh.